Skip to content

Commit 8bf2f9d

Browse files
committed
---
yaml --- r: 109917 b: refs/heads/master c: 838a57b h: refs/heads/master i: 109915: b80eb51 v: v3
1 parent 550a05f commit 8bf2f9d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: d2648cc23f34da72be41701d50bc956e4244c77c
2+
refs/heads/master: 838a57ba9e24e1f7c293828de142f56e64a2900b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c7fac4471201977fdb1c0c0a26c87287e12dc644
55
refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d

trunk/src/doc/rust.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1685,10 +1685,10 @@ attr : ident [ '=' literal
16851685
~~~~
16861686

16871687
Static 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

18871887
The lint checks supported by the compiler can be found via `rustc -W help`,
18881888
along with their default settings.

0 commit comments

Comments
 (0)