From 3a2780c16633ec9dd1bf9b28803a0a150ee02740 Mon Sep 17 00:00:00 2001 From: jtnunley Date: Sun, 28 Aug 2022 15:24:37 -0700 Subject: [PATCH] fmt --- src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index d0e815e..a0b3753 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,12 +1,12 @@ //! `futures::task::AtomicWaker` extracted into its own crate. -//! +//! //! # Features -//! +//! //! This crate adds a feature, `atomic-polyfill`, which uses a polyfill //! from the [`atomic-polyfill`] crate in order to provide functionality //! to targets without atomics. See the [`README`] for the [`atomic-polyfill`] //! crate for more information on how this is implemented by the end-user. -//! +//! //! [`atomic-polyfill`]: https://crates.io/crates/atomic-polyfill //! [`README`]: https://github.com/embassy-rs/atomic-polyfill/blob/main/README.md @@ -17,10 +17,10 @@ use core::fmt; use core::sync::atomic::Ordering::{AcqRel, Acquire, Release}; use core::task::Waker; -#[cfg(not(feature = "atomic-polyfill"))] -use core::sync::atomic::AtomicUsize; #[cfg(feature = "atomic-polyfill")] use atomic_polyfill::AtomicUsize; +#[cfg(not(feature = "atomic-polyfill"))] +use core::sync::atomic::AtomicUsize; /// A synchronization primitive for task wakeup. ///