Skip to content

Commit cff6451

Browse files
committed
whitespace tweak per review feedback
Signed-off-by: Joel Dice <[email protected]>
1 parent 2865e98 commit cff6451

File tree

1 file changed

+2
-0
lines changed
  • crates/factor-outbound-http/src

1 file changed

+2
-0
lines changed

crates/factor-outbound-http/src/wasi.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ where
189189
let (state, table) = C::get_data_with_table(store);
190190
WasiHttpImpl(WasiHttpImplInner { state, table })
191191
}
192+
192193
let get_http = get_http::<C> as fn(&mut C::StoreData) -> WasiHttpImpl<WasiHttpImplInner<'_>>;
193194
wasmtime_wasi_http::bindings::http::outgoing_handler::add_to_linker::<_, HasHttp>(
194195
linker, get_http,
@@ -206,6 +207,7 @@ where
206207
let (state, table) = C::get_data_with_table(store);
207208
p3::WasiHttpCtxView { ctx: state, table }
208209
}
210+
209211
let get_http_p3 = get_http_p3::<C> as fn(&mut C::StoreData) -> p3::WasiHttpCtxView<'_>;
210212
p3::bindings::http::handler::add_to_linker::<_, p3::WasiHttp>(linker, get_http_p3)?;
211213
p3::bindings::http::types::add_to_linker::<_, p3::WasiHttp>(linker, get_http_p3)?;

0 commit comments

Comments
 (0)