Skip to content

Commit d6b2e6e

Browse files
committed
Use the terminology "form" for attribute definitions
"Thing" was unsatisfying to me. "Item" was wrong for inner attributes, since it includes other things.
1 parent 85d7f5c commit d6b2e6e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/attributes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ to name, convention, language, and compiler version. Attributes are modeled
2323
on Attributes in [ECMA-335], with the syntax coming from [ECMA-334] \(C#).
2424

2525
r[attributes.inner]
26-
_Inner attributes_, written with a bang (`!`) after the hash (`#`), apply to the item that the attribute is declared within.
26+
_Inner attributes_, written with a bang (`!`) after the hash (`#`), apply to the form that the attribute is declared within.
2727

2828
r[attributes.outer]
29-
_Outer attributes_, written without the bang after the hash, apply to the thing that follows the attribute.
29+
_Outer attributes_, written without the bang after the hash, apply to the form that follows the attribute.
3030

3131
r[attributes.input]
3232
The attribute consists of a path to the attribute, followed by an optional
@@ -57,7 +57,7 @@ Attributes can be classified into the following kinds:
5757
* [Tool attributes](#tool-attributes)
5858

5959
r[attributes.allowed-position]
60-
Attributes may be applied to many things in the language:
60+
Attributes may be applied to many forms in the language:
6161

6262
* All [item declarations] accept outer attributes while [external blocks],
6363
[functions], [implementations], and [modules] accept inner attributes.
@@ -197,7 +197,7 @@ r[attributes.activity]
197197

198198
r[attributes.activity.intro]
199199
An attribute is either active or inert. During attribute processing, *active
200-
attributes* remove themselves from the thing they are on while *inert attributes*
200+
attributes* remove themselves from the form they are on while *inert attributes*
201201
stay on.
202202

203203
The [`cfg`] and [`cfg_attr`] attributes are active.

0 commit comments

Comments
 (0)