Skip to content

Commit ed27c98

Browse files
2
1 parent c5b1725 commit ed27c98

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

quinn/src/runtime.rs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -122,23 +122,23 @@ pin_project_lite::pin_project! {
122122
}
123123
}
124124

125-
impl<TrySend, MakeFut, Fut> UdpPollHelper<TrySend, MakeFut, Fut> {
126-
/// Construct a [`UdpPoller`] that calls `make_fut` to get the future to poll, storing it until
127-
/// it yields [`Poll::Ready`], then creating a new one on the next
128-
/// [`poll_writable`](UdpPoller::poll_writable)
129-
#[cfg(any(
130-
feature = "runtime-async-std",
131-
feature = "runtime-smol",
132-
feature = "runtime-tokio"
133-
))]
134-
fn new(try_send: TrySend, make_fut: MakeFut) -> Self {
135-
Self {
136-
try_send,
137-
make_fut,
138-
fut: None,
139-
}
140-
}
141-
}
125+
// impl<TrySend, MakeFut, Fut> UdpPollHelper<TrySend, MakeFut, Fut> {
126+
// /// Construct a [`UdpPoller`] that calls `make_fut` to get the future to poll, storing it until
127+
// /// it yields [`Poll::Ready`], then creating a new one on the next
128+
// /// [`poll_writable`](UdpPoller::poll_writable)
129+
// #[cfg(any(
130+
// feature = "runtime-async-std",
131+
// feature = "runtime-smol",
132+
// feature = "runtime-tokio"
133+
// ))]
134+
// fn new(try_send: TrySend, make_fut: MakeFut) -> Self {
135+
// Self {
136+
// try_send,
137+
// make_fut,
138+
// fut: None,
139+
// }
140+
// }
141+
// }
142142

143143
// impl<TrySend, MakeFut, Fut> UdpSender for UdpPollHelper<TrySend, MakeFut, Fut>
144144
// where

0 commit comments

Comments
 (0)