Skip to content

Commit

Permalink
Fix bad merge
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Levick <[email protected]>
  • Loading branch information
rylev committed Oct 26, 2023
1 parent b40ef35 commit fbd23a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/wasi-http-streaming-file/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ async fn stream_file(_req: IncomingRequest, res: ResponseOutparam) -> Result<()>
);

let mut body = response.take_body();
res.set(response);

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

Expand Down

0 comments on commit fbd23a2

Please sign in to comment.