Skip to content

Commit

Permalink
Merge pull request #1508 from ChayimFriedman2/patch-1
Browse files Browse the repository at this point in the history
Fix broken link on asm
  • Loading branch information
marioidival authored Feb 24, 2022
2 parents bae62c9 + 363621f commit 21807dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unsafe/asm.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ In this case we put it in an arbitrary general purpose register by specifying `r
The compiler will choose an appropriate register to insert into
the template and will read the variable from there after the inline assembly finishes executing.

[format-syntax]: https://doc.rust-lang.org/std/fmt/#syntax

Let us see another example that also uses an input:

```rust
Expand Down

0 comments on commit 21807dc

Please sign in to comment.