mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-29 14:33:25 +00:00
Remove the as_any_ref() function for trait
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
902b0421c3
commit
b34dc85e7e
@ -1,5 +1,3 @@
|
||||
use alloc::string::{String, ToString};
|
||||
use core::any::Any;
|
||||
use core::sync::atomic::{AtomicUsize, Ordering};
|
||||
|
||||
use crate::events::Observer;
|
||||
@ -66,10 +64,6 @@ impl FileSystem for ProcFS {
|
||||
fn flags(&self) -> FsFlags {
|
||||
FsFlags::NO_PAGECACHE
|
||||
}
|
||||
|
||||
fn as_any_ref(&self) -> &dyn Any {
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
/// Represents the inode at `/proc`.
|
||||
|
Reference in New Issue
Block a user