Skip to content

Commit 1ed6128

Browse files
committed
Fix unused_imports
1 parent 4ce0fdd commit 1ed6128

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/arch/x86_64/kernel/pci.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
use num_derive::{FromPrimitive, ToPrimitive};
2+
13
use crate::arch::x86_64::mm::{PhysAddr, VirtAddr};
24
use crate::collections::irqsave;
35
use crate::drivers::net::rtl8139::{self, RTL8139Driver};

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ extern crate alloc;
4848
extern crate bitflags;
4949
#[macro_use]
5050
extern crate log;
51-
#[macro_use]
52-
extern crate num_derive;
5351
#[cfg(not(any(target_os = "none", target_os = "hermit")))]
5452
#[macro_use]
5553
extern crate std;

0 commit comments

Comments
 (0)