Skip to content

Commit

Permalink
fix crate name in example (#1620)
Browse files Browse the repository at this point in the history
  • Loading branch information
augustfengd committed Oct 17, 2022
1 parent 83ac540 commit 93832b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unsafe/asm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93832b5

Please sign in to comment.