From 0a746eb214f219989e6a0f189a35e7bec1242fbe Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 4 Jul 2021 15:26:47 -0700 Subject: update crate to rust 2018 --- src/real_mode/uarch.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/real_mode/uarch.rs') diff --git a/src/real_mode/uarch.rs b/src/real_mode/uarch.rs index 0aeaa34..60bf168 100644 --- a/src/real_mode/uarch.rs +++ b/src/real_mode/uarch.rs @@ -16,7 +16,7 @@ pub mod amd { //! as retrieved 2020 may 19, //! `sha256: 87ff152ae18c017dcbfb9f7ee6e88a9f971f6250fd15a70a3dd87c3546323bd5` - use long_mode::InstDecoder; + use crate::real_mode::InstDecoder; /// `k8` was the first AMD microarchitecture to implement x86_64, launched in 2003. while later /// `k8`-based processors supported SSE3, these predefined decoders pick the lower end of @@ -107,7 +107,7 @@ pub mod amd { pub mod intel { //! sourced by walking wikipedia pages. seriously! this stuff is kinda hard to figure out! - use long_mode::InstDecoder; + use crate::real_mode::InstDecoder; /// `Netburst` was the first Intel microarchitecture to implement x86_64, beginning with the /// `Prescott` family launched in 2004. while the wider `Netburst` family launched in 2000 -- cgit v1.1