Skip to content

Commit cd9bea3

Browse files
authored
Add reference to cfg attr
1 parent dec0a98 commit cd9bea3

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)