From 363621fad09b22ac9cbe59a7260c1a3f6fb66aaa Mon Sep 17 00:00:00 2001 From: Chayim Refael Friedman Date: Thu, 24 Feb 2022 01:49:29 +0200 Subject: [PATCH] Fix broken link on asm Fixes #1507. --- src/unsafe/asm.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unsafe/asm.md b/src/unsafe/asm.md index 23d54a5f7c..c97021f3de 100644 --- a/src/unsafe/asm.md +++ b/src/unsafe/asm.md @@ -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