Skip to content

Commit f103aee

Browse files
committed
---
yaml --- r: 119214 b: refs/heads/dist-snap c: 838a57b h: refs/heads/master v: v3
1 parent a67b1b7 commit f103aee

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
@@ -6,7 +6,7 @@ refs/heads/try: 1813e5aa1a03b0596b8de7abd1af31edf5d6098f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: d2648cc23f34da72be41701d50bc956e4244c77c
9+
refs/heads/dist-snap: 838a57ba9e24e1f7c293828de142f56e64a2900b
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/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)