diff --git a/library/core/src/future/join.rs b/library/core/src/future/join.rs index 22bac5d3e6fcc..3f35179ddc29b 100644 --- a/library/core/src/future/join.rs +++ b/library/core/src/future/join.rs @@ -4,7 +4,7 @@ use crate::cell::UnsafeCell; use crate::future::{poll_fn, Future}; use crate::mem; use crate::pin::Pin; -use crate::task::{Context, Poll, ready}; +use crate::task::{ready, Context, Poll}; /// Polls multiple futures simultaneously, returning a tuple /// of all results once complete. diff --git a/library/core/src/task/poll.rs b/library/core/src/task/poll.rs index 83230384a220c..0a0f702f6fb75 100644 --- a/library/core/src/task/poll.rs +++ b/library/core/src/task/poll.rs @@ -94,7 +94,6 @@ impl Poll { pub const fn is_pending(&self) -> bool { !self.is_ready() } - } impl Poll> {