projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use `crate::prelude::*` rather than specific imports
[rust-lightning]
/
lightning
/
src
/
util
/
wakers.rs
diff --git
a/lightning/src/util/wakers.rs
b/lightning/src/util/wakers.rs
index 6c0de2bfa85e330a5f63cfde58b576e33322923a..c95b3dbef3d90e66b118f92790256073a2f67dce 100644
(file)
--- a/
lightning/src/util/wakers.rs
+++ b/
lightning/src/util/wakers.rs
@@
-306,7
+306,7
@@
mod tests {
use super::*;
use core::sync::atomic::{AtomicBool, Ordering};
use core::future::Future as FutureTrait;
use super::*;
use core::sync::atomic::{AtomicBool, Ordering};
use core::future::Future as FutureTrait;
- use core::task::{
Context, Poll, RawWaker, RawWakerVTable, Waker
};
+ use core::task::{
RawWaker, RawWakerVTable
};
#[test]
fn notifier_pre_notified_future() {
#[test]
fn notifier_pre_notified_future() {