Skip to content

Commit

Permalink
wasi-http: Add Send bound to WasiHttpView (#8725)
Browse files Browse the repository at this point in the history
  • Loading branch information
lann authored May 31, 2024
1 parent 56d19c1 commit f362abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasi-http/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl WasiHttpCtx {
}

/// A trait which provides internal WASI HTTP state.
pub trait WasiHttpView {
pub trait WasiHttpView: Send {
/// Returns a mutable reference to the WASI HTTP context.
fn ctx(&mut self) -> &mut WasiHttpCtx;

Expand Down

0 comments on commit f362abb

Please sign in to comment.