mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 03:43:23 +00:00
Fix clippy warnings in kernel crate
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
81ba3b645b
commit
f0957d2f54
@ -23,5 +23,5 @@ pub fn singleton() -> &'static Arc<SysFs> {
|
||||
/// Should be called during kernel filesystem initialization, *after* aster_systree::init().
|
||||
pub fn init() {
|
||||
// Ensure systree is initialized first. This should be handled by the kernel's init order.
|
||||
SYSFS_SINGLETON.call_once(|| SysFs::new());
|
||||
SYSFS_SINGLETON.call_once(SysFs::new);
|
||||
}
|
||||
|
Reference in New Issue
Block a user