Skip to content

Commit 559a6f4

Browse files
committed
f more core
1 parent b1f1dd4 commit 559a6f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning/src/util/wakers.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,8 @@ impl Future {
172172
}
173173
}
174174

175-
#[cfg(feature = "std")]
176175
mod std_future {
177-
use std::task::Waker;
176+
use core::task::Waker;
178177
pub struct StdWaker(pub Waker);
179178
impl super::FutureCallback for StdWaker {
180179
fn call(&self) { self.0.wake_by_ref() }

0 commit comments

Comments
 (0)