From cf279105d5369b76468935ed0b333da94437e7dc Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Fri, 1 Aug 2014 23:12:14 -0400 Subject: [PATCH] Fix manual regarding attribute placement. Fixes #15494. --- src/doc/rust.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/doc/rust.md b/src/doc/rust.md index 7259588233ee5..1413bc92d9f17 100644 --- a/src/doc/rust.md +++ b/src/doc/rust.md @@ -1823,11 +1823,11 @@ meta_item : ident [ '=' literal meta_seq : meta_item [ ',' meta_seq ] ? ; ~~~~ -Static entities in Rust — crates, modules and items — may have _attributes_ -applied to them. Attributes in Rust are modeled on Attributes in ECMA-335, -with the syntax coming from ECMA-334 (C#). An attribute is a general, -free-form metadatum that is interpreted according to name, convention, and -language and compiler version. Attributes may appear as any of: +Any item declaration may have an _attribute_ applied to it. Attributes in Rust +are modeled on Attributes in ECMA-335, with the syntax coming from ECMA-334 +(C#). An attribute is a general, free-form metadatum that is interpreted +according to name, convention, and language and compiler version. Attributes +may appear as any of: * A single identifier, the attribute name * An identifier followed by the equals sign '=' and a literal, providing a