Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
SabrinaJewson committed Jun 15, 2022
1 parent 78b48fb commit 0d1b615
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sync/mod.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
//! Synchronization primitives that have both synchronous and asynchronous variants under the same
//! interface.
#[cfg(feature = "__async")]
mod futures;
#[cfg(feature = "__sync")]
mod blocking;

#[cfg(feature = "__async")]
use self::futures as imp;
mod futures;

#[cfg(feature = "__sync")]
use self::blocking as imp;
#[cfg(feature = "__async")]
use self::futures as imp;

/// A type alias for either an asynchronous mutex or [`std::sync::Mutex`], depending on whether
/// this library is compiled in asynchronous or synchronous mode.
Expand Down

0 comments on commit 0d1b615

Please sign in to comment.