@@ -1685,10 +1685,10 @@ attr : ident [ '=' literal
16851685~~~~
16861686
16871687Static entities in Rust -- crates, modules and items -- may have _ attributes_
1688- applied to them. Attributes in Rust are modeled on Attributes in ECMA-335, C#.
1689- An attribute is a general, free-form metadatum that is interpreted according
1690- to name, convention, and language and compiler version. Attributes may appear
1691- as any of:
1688+ applied to them. Attributes in Rust are modeled on Attributes in ECMA-335,
1689+ with the syntax coming from ECMA-334 (C#). An attribute is a general,
1690+ free-form metadatum that is interpreted according to name, convention, and
1691+ language and compiler version. Attributes may appear as any of:
16921692
16931693* A single identifier, the attribute name
16941694* An identifier followed by the equals sign '=' and a literal, providing a
@@ -1881,8 +1881,8 @@ For any lint check `C`:
18811881 * ` deny(C) ` signals an error after encountering a violation of ` C ` ,
18821882 * ` allow(C) ` overrides the check for ` C ` so that violations will go
18831883 unreported,
1884- * ` forbid(C) ` is the same as ` deny(C) ` , but also forbids uses of
1885- ` allow(C) ` within the attribute .
1884+ * ` forbid(C) ` is the same as ` deny(C) ` , but also forbids changing the lint
1885+ level afterwards .
18861886
18871887The lint checks supported by the compiler can be found via ` rustc -W help ` ,
18881888along with their default settings.
0 commit comments