about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFuGangqiang <fu_gangqiang@163.com>2015-03-21 22:56:05 +0800
committerManish Goregaokar <manishsmail@gmail.com>2015-03-23 04:54:27 +0530
commit5836efdfe7077e10fe7ba69f0cb01d1ca93fa47b (patch)
tree2e8b92b22598f3fa80cf7c1bfe75a6ca8957d150 /src
parentb0aad7dd4fad8d7e2e2f877a511a637258949597 (diff)
downloadrust-5836efdfe7077e10fe7ba69f0cb01d1ca93fa47b.tar.gz
rust-5836efdfe7077e10fe7ba69f0cb01d1ca93fa47b.zip
fix the attributes sytax
Diffstat (limited to 'src')
-rw-r--r--src/doc/reference.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index 92573d79217..b23a8d91069 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -1982,7 +1982,7 @@ the namespace hierarchy as it normally would.
 ## Attributes
 
 ```{.ebnf .gram}
-attribute : "#!" ? '[' meta_item ']' ;
+attribute : '#' '!' ? '[' meta_item ']' ;
 meta_item : ident [ '=' literal
                   | '(' meta_seq ')' ] ? ;
 meta_seq : meta_item [ ',' meta_seq ] ? ;