Clippy: Fix lints
Some checks failed
Continuous Integration / Rustfmt (push) Waiting to run
Continuous Integration / Check (push) Failing after 4m19s
Continuous Integration / Clippy (push) Failing after 1m32s
Continuous Integration / Build (x86_64) (push) Successful in 2m22s

This commit is contained in:
August 2025-07-23 01:33:20 -04:00
parent aadebbfefe
commit 77edb07211
Signed by: shibedrill
GPG Key ID: 5FE0CB25945EFAA2
2 changed files with 2 additions and 3 deletions

View File

@ -6,10 +6,9 @@ use x86_64::structures::idt::*;
lazy_static! { lazy_static! {
pub static ref IDT: InterruptDescriptorTable = { pub static ref IDT: InterruptDescriptorTable = {
let idt = InterruptDescriptorTable::new(); InterruptDescriptorTable::new()
// TODO: Re-implement this once the x86-interrupt ABI is fixed. // TODO: Re-implement this once the x86-interrupt ABI is fixed.
// Alternatively: Write our own interrupt handler wrappers. // Alternatively: Write our own interrupt handler wrappers.
idt
}; };
} }

View File

@ -40,7 +40,7 @@ pub struct Process {
#[allow(dead_code)] #[allow(dead_code)]
pub fn context_switch() -> ! { pub fn context_switch() -> ! {
loop {} todo!()
} }
#[allow(dead_code)] #[allow(dead_code)]