Provide Mutex relative to prelude to fix doc linking issues coming from rtic-core

This commit is contained in:
Henrik Tjäder 2022-02-18 19:58:21 +01:00
parent 2c14c9bce3
commit 7eaf732c4c

View file

@ -45,6 +45,7 @@ pub use rtic_monotonic::{self, Monotonic};
/// module `mutex::prelude` provides `Mutex` and multi-lock variants. Recommended over `mutex_prelude` /// module `mutex::prelude` provides `Mutex` and multi-lock variants. Recommended over `mutex_prelude`
pub mod mutex { pub mod mutex {
pub use rtic_core::prelude; pub use rtic_core::prelude;
pub use rtic_core::Mutex;
} }
#[doc(hidden)] #[doc(hidden)]