about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-11-09 07:18:35 +0100
committerGitHub <noreply@github.com>2019-11-09 07:18:35 +0100
commit3ef975d4be7a144ea98ebe105264a466d6bd2b92 (patch)
tree03d62369a076edd064f1777020a8872fb178027b /src/libcore
parent648e8bfe34bb0dcc823a3e73069f67db18f00ccc (diff)
parent3db1005c9d5731915dc06652fde03902b75ad65a (diff)
downloadrust-3ef975d4be7a144ea98ebe105264a466d6bd2b92.tar.gz
rust-3ef975d4be7a144ea98ebe105264a466d6bd2b92.zip
Rollup merge of #66226 - lzutao:asm-usage-link, r=Centril
add link to unstable book for asm! macro

r? @Centril
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/macros.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs
index 131fb52e2d2..726d187d2e9 100644
--- a/src/libcore/macros.rs
+++ b/src/libcore/macros.rs
@@ -1274,6 +1274,10 @@ pub(crate) mod builtin {
     }
 
     /// Inline assembly.
+    ///
+    /// Read the [unstable book] for the usage.
+    ///
+    /// [unstable book]: ../unstable-book/library-features/asm.html
     #[unstable(feature = "asm", issue = "29722",
                reason = "inline assembly is not stable enough for use and is subject to change")]
     #[rustc_builtin_macro]