Skip to content

Commit

Permalink
#1752 1750
Browse files Browse the repository at this point in the history
  • Loading branch information
toidiu committed Jan 30, 2024
1 parent 35adace commit 1dd8566
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions quic/s2n-quic-transport/src/stream/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use core::{
fmt,
future::Future,
pin::Pin,
task::{Context, Poll},
task::{ready, Context, Poll},
};
pub use s2n_quic_core::{
application,
Expand Down Expand Up @@ -80,15 +80,6 @@ impl Drop for State {
}
}

macro_rules! ready {
($e:expr $(,)?) => {
match $e {
core::task::Poll::Ready(t) => t,
core::task::Poll::Pending => return core::task::Poll::Pending,
}
};
}

macro_rules! tx_stream_apis {
() => {
/// Enqueues a chunk of data for sending it towards the peer.
Expand Down

0 comments on commit 1dd8566

Please sign in to comment.