about summary refs log tree commit diff
path: root/library/stdarch/examples/hex.rs
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-01-30 13:21:24 +0100
committergnzlbg <gnzlbg@users.noreply.github.com>2019-01-30 13:46:41 +0100
commitd5ef055ba904de9624edb0ce9ee02bc523d3dc31 (patch)
tree65acccd3b2fae17f1a96c5b96da957cdaa4b9149 /library/stdarch/examples/hex.rs
parent25197fca7b1bef45f2e2115e0343c62132f6d48e (diff)
downloadrust-d5ef055ba904de9624edb0ce9ee02bc523d3dc31.tar.gz
rust-d5ef055ba904de9624edb0ce9ee02bc523d3dc31.zip
Fix building docs for all targets on docs.rs and re-export the arch module
Diffstat (limited to 'library/stdarch/examples/hex.rs')
-rw-r--r--library/stdarch/examples/hex.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/stdarch/examples/hex.rs b/library/stdarch/examples/hex.rs
index 9e6c84c11d2..8b9a4cdd0d0 100644
--- a/library/stdarch/examples/hex.rs
+++ b/library/stdarch/examples/hex.rs
@@ -42,9 +42,9 @@ use std::io::{self, Read};
 use std::str;
 
 #[cfg(target_arch = "x86")]
-use core_arch::arch::x86::*;
+use core_arch::x86::*;
 #[cfg(target_arch = "x86_64")]
-use core_arch::arch::x86_64::*;
+use core_arch::x86_64::*;
 
 fn main() {
     let mut input = Vec::new();