mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-29 16:13:27 +00:00
Fix clippy and compiler warings
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
20a90426a0
commit
9ca64c281e
@ -54,7 +54,7 @@ pub(crate) trait UserContextApiInternal {
|
||||
fn execute(&mut self) -> UserEvent;
|
||||
|
||||
/// Use the information inside CpuContext to build a trapframe
|
||||
fn into_trap_frame(&self) -> TrapFrame;
|
||||
fn as_trap_frame(&self) -> TrapFrame;
|
||||
}
|
||||
|
||||
/// The common interface that every CPU architecture-specific `CpuContext` implements.
|
||||
|
Reference in New Issue
Block a user