tidy
This commit is contained in:
parent
b997f3ca13
commit
4fbca2e1d5
@ -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.
|
||||
|
@ -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>> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user