Skip to content

Commit abe97c0

Browse files
fix unused
1 parent 3202986 commit abe97c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compat.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ pub(crate) struct AllowStd<S> {
4949
// read waker slot for this, but any would do.
5050
//
5151
// Don't ever use this from multiple tasks at the same time!
52-
#[cfg(any(feature = "futures-03-sink", feature = "handshake"))]
52+
#[cfg(feature = "handshake")]
5353
pub(crate) trait SetWaker {
5454
fn set_waker(&self, waker: &Waker);
5555
}
5656

57-
#[cfg(any(feature = "futures-03-sink", feature = "handshake"))]
57+
#[cfg(feature = "handshake")]
5858
impl<S> SetWaker for AllowStd<S> {
5959
fn set_waker(&self, waker: &Waker) {
6060
self.set_waker(ContextWaker::Read, waker);

0 commit comments

Comments
 (0)