From fcd33c4c88e4e57b4574be4f163afd4366c427c0 Mon Sep 17 00:00:00 2001 From: Yu Chen Date: Mon, 2 Aug 2021 10:09:33 +0800 Subject: [PATCH] cargo fmt --- code/ch01-02/src/object/handle.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ch01-02/src/object/handle.rs b/code/ch01-02/src/object/handle.rs index 80c77bd..592282d 100644 --- a/code/ch01-02/src/object/handle.rs +++ b/code/ch01-02/src/object/handle.rs @@ -1,5 +1,5 @@ // ANCHOR: handle -use super::{KernelObject, Rights, DummyObject}; +use super::{DummyObject, KernelObject, Rights}; use alloc::sync::Arc; /// 内核对象句柄 @@ -26,4 +26,4 @@ mod tests { let obj = DummyObject::new(); let handle1 = Handle::new(obj.clone(), Rights::BASIC); } -} \ No newline at end of file +}