about summary refs log tree commit diff
path: root/src/doc/grammar.md
diff options
context:
space:
mode:
authorCarol Nichols <carol.nichols@gmail.com>2015-05-08 20:48:54 -0400
committerCarol Nichols <carol.nichols@gmail.com>2015-05-08 20:48:54 -0400
commitbf06163ea7f41a54e7ef96ac9c5dfcd626299926 (patch)
tree433a764c049135efd237387e9d4671526737070b /src/doc/grammar.md
parentb210aea1d446dcc9d05d0072c439575f9649d9f9 (diff)
downloadrust-bf06163ea7f41a54e7ef96ac9c5dfcd626299926.tar.gz
rust-bf06163ea7f41a54e7ef96ac9c5dfcd626299926.zip
Remove references to deprecated `extern crate "foo" as bar` syntax
This syntax was removed in b24a3b8 but references remained in the
grammar, the reference, rustdoc generation, and some auxiliary test
files that don't seem to have been used since 812637e.
Diffstat (limited to 'src/doc/grammar.md')
-rw-r--r--src/doc/grammar.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/grammar.md b/src/doc/grammar.md
index 80a4b63cc5f..45a014e1076 100644
--- a/src/doc/grammar.md
+++ b/src/doc/grammar.md
@@ -329,7 +329,7 @@ view_item : extern_crate_decl | use_decl ;
 
 ```antlr
 extern_crate_decl : "extern" "crate" crate_name
-crate_name: ident | ( string_lit as ident )
+crate_name: ident | ( ident "as" ident )
 ```
 
 ##### Use declarations