Skip to content

Commit 12306da

Browse files
committed
auto merge of rust-lang#16189 : steveklabnik/rust/gh15494, r=alexcrichton
Fixes rust-lang#15494.
2 parents 4d4eb10 + cf27910 commit 12306da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/doc/rust.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1823,11 +1823,11 @@ meta_item : ident [ '=' literal
18231823
meta_seq : meta_item [ ',' meta_seq ] ? ;
18241824
~~~~
18251825

1826-
Static entities in Rust — crates, modules and items — may have _attributes_
1827-
applied to them. Attributes in Rust are modeled on Attributes in ECMA-335,
1828-
with the syntax coming from ECMA-334 (C#). An attribute is a general,
1829-
free-form metadatum that is interpreted according to name, convention, and
1830-
language and compiler version. Attributes may appear as any of:
1826+
Any item declaration may have an _attribute_ applied to it. Attributes in Rust
1827+
are modeled on Attributes in ECMA-335, with the syntax coming from ECMA-334
1828+
(C#). An attribute is a general, free-form metadatum that is interpreted
1829+
according to name, convention, and language and compiler version. Attributes
1830+
may appear as any of:
18311831

18321832
* A single identifier, the attribute name
18331833
* An identifier followed by the equals sign '=' and a literal, providing a

0 commit comments

Comments
 (0)