From 53cd0bc772c5b73d8059a02f828ceecf9ed2287c Mon Sep 17 00:00:00 2001 From: Carol Nichols Date: Sun, 10 May 2015 20:48:02 -0400 Subject: [PATCH] Add literal semicolon to the grammar of view_item Both external crate declarations and use declarations need to end with a semicolon. --- src/doc/grammar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/grammar.md b/src/doc/grammar.md index 3cecc28b8036..a3325b82a9da 100644 --- a/src/doc/grammar.md +++ b/src/doc/grammar.md @@ -322,7 +322,7 @@ mod : [ view_item | item ] * ; #### View items ```antlr -view_item : extern_crate_decl | use_decl ; +view_item : extern_crate_decl | use_decl ';' ; ``` ##### Extern crate declarations