From c407c262243a64688c3bb1fb1ac95a53c70ff461 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Thu, 27 Mar 2025 16:13:18 +0100 Subject: [PATCH] Run cargo fmt --- src/gdt.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gdt.rs b/src/gdt.rs index 05b074d1..fe98d35b 100644 --- a/src/gdt.rs +++ b/src/gdt.rs @@ -1,7 +1,7 @@ use lazy_static::lazy_static; +use x86_64::VirtAddr; use x86_64::structures::gdt::{Descriptor, GlobalDescriptorTable, SegmentSelector}; use x86_64::structures::tss::TaskStateSegment; -use x86_64::VirtAddr; pub const DOUBLE_FAULT_IST_INDEX: u16 = 0; @@ -41,7 +41,7 @@ struct Selectors { } pub fn init() { - use x86_64::instructions::segmentation::{Segment, CS}; + use x86_64::instructions::segmentation::{CS, Segment}; use x86_64::instructions::tables::load_tss; GDT.0.load();