mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 00:43:24 +00:00
Remove useless #[allow(lint)]
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
b42d596ec4
commit
b415538097
@ -237,7 +237,6 @@ impl MMapOptions {
|
||||
self.typ
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
pub fn flags(&self) -> MMapFlags {
|
||||
self.flags
|
||||
}
|
||||
|
@ -75,7 +75,6 @@ fn set_new_stack(sig_stack_addr: Vaddr, old_stack: Option<&SigStack>, ctx: &Cont
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[allow(non_camel_case_types)]
|
||||
#[derive(Debug, Clone, Copy, Pod)]
|
||||
#[repr(C)]
|
||||
struct stack_t {
|
||||
|
Reference in New Issue
Block a user