Add reference to cfg attr

This commit is contained in:
lzutao 2019-04-07 11:48:14 +07:00 committed by GitHub
parent dec0a98c4b
commit cd9bea3317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
///
/// ```