about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/core/src/future/join.rs2
-rw-r--r--library/core/src/task/poll.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/library/core/src/future/join.rs b/library/core/src/future/join.rs
index 22bac5d3e6f..3f35179ddc2 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 83230384a22..0a0f702f6fb 100644
--- a/library/core/src/task/poll.rs
+++ b/library/core/src/task/poll.rs
@@ -94,7 +94,6 @@ impl<T> Poll<T> {
     pub const fn is_pending(&self) -> bool {
         !self.is_ready()
     }
-
 }
 
 impl<T, E> Poll<Result<T, E>> {