Clippy: Fix lints
This commit is contained in:
parent
aadebbfefe
commit
77edb07211
@ -6,10 +6,9 @@ use x86_64::structures::idt::*;
|
||||
|
||||
lazy_static! {
|
||||
pub static ref IDT: InterruptDescriptorTable = {
|
||||
let idt = InterruptDescriptorTable::new();
|
||||
InterruptDescriptorTable::new()
|
||||
// TODO: Re-implement this once the x86-interrupt ABI is fixed.
|
||||
// Alternatively: Write our own interrupt handler wrappers.
|
||||
idt
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@ pub struct Process {
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn context_switch() -> ! {
|
||||
loop {}
|
||||
todo!()
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
|
Loading…
Reference in New Issue
Block a user