misc: format sources

This commit is contained in:
2021-11-05 14:06:38 +02:00
parent e8e8032adb
commit 41706c5676
27 changed files with 94 additions and 69 deletions
+1 -1
View File
@@ -2,9 +2,9 @@
use crate::arch::platform::{irq_mask_save, irq_restore};
use core::cell::UnsafeCell;
use core::fmt;
use core::ops::{Deref, DerefMut};
use core::sync::atomic::{AtomicBool, Ordering};
use core::fmt;
/// Lock structure ensuring IRQs are disabled when inner value is accessed
pub struct IrqSafeSpinLock<T> {