nightly fmt

This commit is contained in:
Ulf Lilleengen 2024-01-25 08:39:25 +01:00
parent 3739cc0699
commit 1263d28595
2 changed files with 2 additions and 3 deletions

View File

@ -208,8 +208,7 @@ impl<'d, T: Instance> rand_core::CryptoRng for Rng<'d, T> {}
pub(crate) mod sealed { pub(crate) mod sealed {
use core::cell::{Ref, RefCell, RefMut}; use core::cell::{Ref, RefCell, RefMut};
use critical_section::CriticalSection; use critical_section::{CriticalSection, Mutex};
use critical_section::Mutex;
use embassy_sync::waitqueue::WakerRegistration; use embassy_sync::waitqueue::WakerRegistration;
use super::*; use super::*;

View File

@ -1,7 +1,7 @@
use core::cell::Cell; use core::cell::Cell;
use core::sync::atomic::{compiler_fence, AtomicU32, AtomicU8, Ordering};
use core::{mem, ptr}; use core::{mem, ptr};
use core::sync::atomic::{compiler_fence, AtomicU32, AtomicU8, Ordering};
use critical_section::CriticalSection; use critical_section::CriticalSection;
use embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex; use embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex;
use embassy_sync::blocking_mutex::CriticalSectionMutex as Mutex; use embassy_sync::blocking_mutex::CriticalSectionMutex as Mutex;