This commit is contained in:
Ibraheem Ahmed 2023-01-19 17:53:19 -05:00 committed by The 8472
parent b997f3ca13
commit 4fbca2e1d5
2 changed files with 1 additions and 2 deletions

View File

@ -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.

View File

@ -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>> {