Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove send bounds and add example also for http1 #3266

Merged
merged 2 commits into from
Jul 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fmt
  • Loading branch information
Ruben2424 committed Jul 14, 2023
commit 92cb174ec18cd60e88954142c0431626fde407d2
3 changes: 1 addition & 2 deletions examples/single_threaded.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ where
}
}


struct IOTypeNotSend {
_marker: PhantomData<*const ()>,
stream: TokioIo<TcpStream>,
Expand Down Expand Up @@ -371,4 +370,4 @@ impl hyper::rt::Read for IOTypeNotSend {
) -> Poll<std::io::Result<()>> {
Pin::new(&mut self.stream).poll_read(cx, buf)
}
}
}