Skip to content

Commit f89be36

Browse files
committed
---
yaml --- r: 110451 b: refs/heads/try c: 838a57b h: refs/heads/master i: 110449: 212700a 110447: d079db9 v: v3
1 parent d43d3ea commit f89be36

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
@@ -2,7 +2,7 @@
22
refs/heads/master: e415c25bcd81dc1f9a5a3d25d9b48ed2d545336b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c7fac4471201977fdb1c0c0a26c87287e12dc644
5-
refs/heads/try: d2648cc23f34da72be41701d50bc956e4244c77c
5+
refs/heads/try: 838a57ba9e24e1f7c293828de142f56e64a2900b
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/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)