Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ r[attributes.intro]
An _attribute_ is a general, free-form metadatum that is interpreted according to name, convention, language, and compiler version. Attributes are modeled on Attributes in [ECMA-335], with the syntax coming from [ECMA-334] \(C#).

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

> [!EXAMPLE]
> ```rust
Expand All @@ -38,7 +38,7 @@ _Inner attributes_, written with a bang (`!`) after the hash (`#`), apply to the
> ```

r[attributes.outer]
_Outer attributes_, written without the bang after the hash, apply to the form that follows the attribute.
_Outer attributes_ apply to the form that follows the attribute.

> [!EXAMPLE]
> ```rust
Expand Down
Loading