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 +}