Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Klimenty Tsoutsman <klim@tsoutsman.com>
  • Loading branch information
tsoutsman committed Sep 9, 2023
1 parent 9849e9c commit bda973c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kernel/task_cancel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
#![feature(abi_x86_interrupt, try_blocks)]
#![no_std]

use core::sync::atomic::Ordering;
use task::{KillReason, TaskRef};
use task::KillReason;
use x86_64::structures::idt::InterruptStackFrame;

pub fn set_trap_flag(stack_frame: &mut InterruptStackFrame) {
Expand Down

0 comments on commit bda973c

Please sign in to comment.