Remove Any Trait of File
This commit is contained in:
parent
973797f10e
commit
1c1edc1d80
4 changed files with 1 additions and 17 deletions
|
@ -5,7 +5,6 @@ use crate::mm::{
|
|||
UserBuffer,
|
||||
};
|
||||
use crate::task::suspend_current_and_run_next;
|
||||
use core::any::Any;
|
||||
|
||||
pub struct Pipe {
|
||||
readable: bool,
|
||||
|
@ -165,5 +164,4 @@ impl File for Pipe {
|
|||
}
|
||||
}
|
||||
}
|
||||
fn as_any_ref(&self) -> &dyn Any { self }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue