Skip to content

Commit

Permalink
reword reference about inert attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
jdonszelmann committed Jan 22, 2025
1 parent eacd002 commit 064a51f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,8 @@ An attribute is either active or inert. During attribute processing, *active
attributes* remove themselves from the thing they are on while *inert attributes*
stay on.

The [`cfg`] and [`cfg_attr`] attributes are active. The [`test`] attribute is
inert when compiling for tests and active otherwise. [Attribute macros] are
active. All other attributes are inert.
The [`cfg`] and [`cfg_attr`] attributes are active.
[Attribute macros] are active. All other attributes are inert.

r[attributes.tool]
## Tool attributes
Expand Down

0 comments on commit 064a51f

Please sign in to comment.