From cd9bea3317114f13db945aac802b8de238ded934 Mon Sep 17 00:00:00 2001 From: lzutao Date: Sun, 7 Apr 2019 11:48:14 +0700 Subject: [PATCH] Add reference to cfg attr --- src/libstd/macros.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs index be4db1f737d83..7228886fe55a6 100644 --- a/src/libstd/macros.rs +++ b/src/libstd/macros.rs @@ -836,9 +836,11 @@ mod builtin { /// boolean expression evaluation of configuration flags. This frequently /// leads to less duplicated code. /// - /// The syntax given to this macro is the same syntax as the `cfg` + /// The syntax given to this macro is the same syntax as the [`cfg`] /// attribute. /// + /// [`cfg`]: ../reference/conditional-compilation.html#the-cfg-attribute + /// /// # Examples /// /// ```