diff options
| author | lzutao <taolzu@gmail.com> | 2019-04-07 11:48:14 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-07 11:48:14 +0700 |
| commit | cd9bea3317114f13db945aac802b8de238ded934 (patch) | |
| tree | acf83f7fbbc24e6a4a644712c050f58b141bcdee /src/libstd | |
| parent | dec0a98c4b392b5fd153ba8b944c496218717813 (diff) | |
| download | rust-cd9bea3317114f13db945aac802b8de238ded934.tar.gz rust-cd9bea3317114f13db945aac802b8de238ded934.zip | |
Add reference to cfg attr
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/macros.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs index be4db1f737d..7228886fe55 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 /// /// ``` |
