From 867dcb2fa3ab6a71a4800b29ed90600a74cd3f2b Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Sat, 4 Jul 2026 22:36:13 +0200 Subject: [PATCH] attributes: do not explain syntax in rules The syntax is already shown in syntax section --- src/attributes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/attributes.md b/src/attributes.md index dd7cec5a8a..d6ff485334 100644 --- a/src/attributes.md +++ b/src/attributes.md @@ -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 @@ -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