Skip to content

Commit ba13134

Browse files
committed
rustfmt
1 parent 44f2df2 commit ba13134

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

src/coop_cancel.rs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,13 @@
8585
//! [`drain`](https://docs.rs/drain) crate. [`Canceler`] and `drain` can be combined: create a task
8686
//! that listens to a [`Receiver`], and notify other receivers via `drain` in that task.
8787
88-
use core::future::Future;
89-
use core::pin::Pin;
90-
use core::task::{ready, Poll};
91-
use core::{fmt, marker::PhantomData};
88+
use core::{
89+
fmt,
90+
future::Future,
91+
marker::PhantomData,
92+
pin::Pin,
93+
task::{ready, Poll},
94+
};
9295
use futures_util::FutureExt;
9396
use tokio::sync::{mpsc, oneshot};
9497

tests/integration_tests/coop_cancel.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#![cfg(feature = "std")]
22

33
use std::convert::Infallible;
4-
54
use tokio::sync::oneshot;
65
#[cfg(not(tokio_wasm_not_wasi))]
76
use tokio::test as maybe_tokio_test;

0 commit comments

Comments
 (0)