Skip to content

Commit bb9e7af

Browse files
committed
Remove unused imports
1 parent 9f590dc commit bb9e7af

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

bios/stage-2/src/protected_mode.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
use bootloader_x86_64_bios_common::BiosInfo;
2-
use core::{
3-
arch::{asm, global_asm},
4-
fmt::Write as _,
5-
mem::size_of,
6-
};
2+
use core::{arch::asm, mem::size_of};
73

84
static GDT: GdtProtectedMode = GdtProtectedMode::new();
95

bios/stage-3/src/screen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use bootloader_x86_64_bios_common::{racy_cell::RacyCell, BiosFramebufferInfo, PixelFormat};
22
use core::{fmt, ptr};
3-
use noto_sans_mono_bitmap::{get_bitmap, get_bitmap_width, BitmapChar, BitmapHeight, FontWeight};
3+
use noto_sans_mono_bitmap::{get_bitmap, BitmapChar, BitmapHeight, FontWeight};
44

55
static WRITER: RacyCell<Option<ScreenWriter>> = RacyCell::new(None);
66
pub struct Writer;

0 commit comments

Comments
 (0)