Add rustfmt from relibc and apply it with cargo fmt

This commit is contained in:
Jeremy Soller
2024-01-17 13:52:01 -07:00
parent 73897bd83d
commit 45f1c4e29e
166 changed files with 7353 additions and 3851 deletions
+1 -3
View File
@@ -1,5 +1,4 @@
use crate::LogicalCpuId;
use crate::context::switch::ContextSwitchPercpu;
use crate::{context::switch::ContextSwitchPercpu, LogicalCpuId};
/// The percpu block, that stored all percpu variables.
pub struct PercpuBlock {
@@ -11,7 +10,6 @@ pub struct PercpuBlock {
// TODO: Put mailbox queues here, e.g. for TLB shootdown? Just be sure to 128-byte align it
// first to avoid cache invalidation.
#[cfg(feature = "profiling")]
pub profiling: Option<&'static crate::profiling::RingBuffer>,
}