From 4fbca2e1d500c1a39d0f5eb822faec2a49cdc071 Mon Sep 17 00:00:00 2001 From: Ibraheem Ahmed Date: Thu, 19 Jan 2023 17:53:19 -0500 Subject: [PATCH] tidy --- library/core/src/future/join.rs | 2 +- library/core/src/task/poll.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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> {