Skip to content

Commit 8079548

Browse files
committed
---
yaml --- r: 6133 b: refs/heads/master c: 4ce6472 h: refs/heads/master i: 6131: e00f8a7 v: v3
1 parent ca4f363 commit 8079548

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 1a68a98824cab9122bb39920d09415ff34a3944e
2+
refs/heads/master: 4ce6472c029191b168828ee3aa65a3ae63ac1823

trunk/doc/tutorial/syntax.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,12 @@ is used by the [built-in test framework](test.html)), a name followed
295295
by `=` and then a literal (as in `#[license = "BSD"]`, which is a
296296
valid way to annotate a Rust program as being released under a
297297
BSD-style license), or a name followed by a comma-separated list of
298-
nested attributes, as in the `cfg` example above.
298+
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")];
299304

300305
An attribute without a semicolon following it applies to the
301306
definition that follows it. When terminated with a semicolon, it

0 commit comments

Comments
 (0)