Skip to content

Commit 237b3bd

Browse files
ehusstraviscross
authored andcommitted
Linkify "attribute" and add an intro rule name
1 parent 0eadf02 commit 237b3bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/items/extern-crates.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ into the [`macro_use` prelude].
7676
r[items.extern-crate.no_link]
7777
## The `no_link` attribute
7878

79-
The *`no_link` attribute* may be specified on an `extern crate` item to prevent linking the crate into the output. This is commonly used to load a crate to access only its macros.
79+
r[items.extern-crate.no_link.intro]
80+
The *`no_link` [attribute][attributes]* may be specified on an `extern crate` item to prevent linking the crate into the output. This is commonly used to load a crate to access only its macros.
8081

8182
[identifier]: ../identifiers.md
8283
[RFC 940]: https://github.com/rust-lang/rfcs/blob/master/text/0940-hyphens-considered-harmful.md

0 commit comments

Comments
 (0)