We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a68a98 commit 4ce6472Copy full SHA for 4ce6472
doc/tutorial/syntax.md
@@ -295,7 +295,12 @@ is used by the [built-in test framework](test.html)), a name followed
295
by `=` and then a literal (as in `#[license = "BSD"]`, which is a
296
valid way to annotate a Rust program as being released under a
297
BSD-style license), or a name followed by a comma-separated list of
298
-nested attributes, as in the `cfg` example above.
+nested attributes, as in the `cfg` example above, or in this
299
+[crate](mod.html) metadata declaration:
300
+
301
+ #[link(name = "std",
302
+ vers = "0.1",
303
+ url = "http://rust-lang.org/src/std")];
304
305
An attribute without a semicolon following it applies to the
306
definition that follows it. When terminated with a semicolon, it
0 commit comments