From 5fd8330eeead34928594bbcbc1dfb54b62d5813e Mon Sep 17 00:00:00 2001 From: August Feng Date: Sat, 1 Oct 2022 12:52:26 -0400 Subject: [PATCH] fix crate name in example --- src/unsafe/asm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unsafe/asm.md b/src/unsafe/asm.md index 1538bc49db..7ad6e0c5e7 100644 --- a/src/unsafe/asm.md +++ b/src/unsafe/asm.md @@ -227,7 +227,7 @@ This state is generally referred to as being "clobbered". We need to tell the compiler about this since it may need to save and restore this state around the inline assembly block. ```rust -use core::arch::asm; +use std::arch::asm; fn main() { // three entries of four bytes each