Skip to content

Commit 474e7a6

Browse files
committed
Auto merge of #59765 - lzutao:patch-1, r=Centril
Add reference to cfg attr r? @QuietMisdreavus
2 parents 11510b2 + cd9bea3 commit 474e7a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libstd/macros.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -836,9 +836,11 @@ mod builtin {
836836
/// boolean expression evaluation of configuration flags. This frequently
837837
/// leads to less duplicated code.
838838
///
839-
/// The syntax given to this macro is the same syntax as the `cfg`
839+
/// The syntax given to this macro is the same syntax as the [`cfg`]
840840
/// attribute.
841841
///
842+
/// [`cfg`]: ../reference/conditional-compilation.html#the-cfg-attribute
843+
///
842844
/// # Examples
843845
///
844846
/// ```

0 commit comments

Comments
 (0)