summary refs log tree commit diff
path: root/src/doc/reference.md
diff options
context:
space:
mode:
authorth0114nd <th0114nd@gmail.com>2014-12-18 14:47:43 -0500
committerth0114nd <th0114nd@gmail.com>2014-12-18 14:47:43 -0500
commit15d54549d7311893eacd43d7d6cb527ac2acf944 (patch)
tree2b10b90270ae300c6f43de8a63233a3d7d8dd303 /src/doc/reference.md
parentf9a48492a82f805aa40d8b6fea290badbab0d1b1 (diff)
downloadrust-15d54549d7311893eacd43d7d6cb527ac2acf944.tar.gz
rust-15d54549d7311893eacd43d7d6cb527ac2acf944.zip
Put quotes around "as", because it's a keyword.
Diffstat (limited to 'src/doc/reference.md')
-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 3d4791e916e..88330536d45 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -934,7 +934,7 @@ kinds of view items:
 
 ```{.ebnf .gram}
 extern_crate_decl : "extern" "crate" crate_name
-crate_name: ident | ( string_lit as ident )
+crate_name: ident | ( string_lit "as" ident )
 ```
 
 An _`extern crate` declaration_ specifies a dependency on an external crate.