From 8f30a2fc3d5d73f90a4ba64d0a90348e59e7967b Mon Sep 17 00:00:00 2001 From: Brian Martin Date: Thu, 14 Feb 2019 14:32:21 -0800 Subject: update to Rust 2018 edition * specify 2018 edition in the manifest * changes to fix build with 2018 edition --- src/task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/task.rs') diff --git a/src/task.rs b/src/task.rs index 20890c9..a7637f2 100644 --- a/src/task.rs +++ b/src/task.rs @@ -1,7 +1,7 @@ //! Helpers to program the task state segment. //! See Intel 3a, Chapter 7 -pub use segmentation; +pub use crate::segmentation; /// Load the task state register. pub unsafe fn load_tr(sel: segmentation::SegmentSelector) { -- cgit v1.2.3