aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Dan Cross <cross@gajendra.net> 2021-12-23 20:45:17 +0000
committerGravatar Gerd Zellweger <mail@gerdzellweger.com> 2021-12-26 09:31:14 -0800
commitd233c3d8896e9a2b2aec3f2bbcb7ae4e97bd5005 (patch)
tree236fd61066e53b03b5850db34175cf264ca1f4c8
parent0a40ca26e4e0781055fded814396de9d1c3980d0 (diff)
downloadrust-x86-d233c3d8896e9a2b2aec3f2bbcb7ae4e97bd5005.tar.gz
rust-x86-d233c3d8896e9a2b2aec3f2bbcb7ae4e97bd5005.tar.zst
rust-x86-d233c3d8896e9a2b2aec3f2bbcb7ae4e97bd5005.zip
Cargo fmt.
Signed-off-by: Dan Cross <cross@gajendra.net>
-rw-r--r--src/task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/task.rs b/src/task.rs
index d572c8d..a4a9044 100644
--- a/src/task.rs
+++ b/src/task.rs
@@ -1,8 +1,8 @@
//! Helpers to program the task state segment.
//! See Intel 3a, Chapter 7
-use core::arch::asm;
pub use crate::segmentation;
+use core::arch::asm;
/// Returns the current value of the task register.
///