Skip to content

Commit 363621f

Browse files
Fix broken link on asm
Fixes #1507.
1 parent bae62c9 commit 363621f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unsafe/asm.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ In this case we put it in an arbitrary general purpose register by specifying `r
5656
The compiler will choose an appropriate register to insert into
5757
the template and will read the variable from there after the inline assembly finishes executing.
5858

59+
[format-syntax]: https://doc.rust-lang.org/std/fmt/#syntax
60+
5961
Let us see another example that also uses an input:
6062

6163
```rust

0 commit comments

Comments
 (0)