Skip to content

Commit fbd23a2

Browse files
committed
Fix bad merge
Signed-off-by: Ryan Levick <[email protected]>
1 parent b40ef35 commit fbd23a2

File tree

1 file changed

+1
-1
lines changed
  • examples/wasi-http-streaming-file/src

1 file changed

+1
-1
lines changed

examples/wasi-http-streaming-file/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ async fn stream_file(_req: IncomingRequest, res: ResponseOutparam) -> Result<()>
2424
);
2525

2626
let mut body = response.take_body();
27+
res.set(response);
2728

28-
ResponseOutparam::set(res, Ok(response));
2929
let mut file =
3030
File::open("target/wasm32-wasi/release/wasi_http_rust_streaming_outgoing_body.wasm")?;
3131

0 commit comments

Comments
 (0)