about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 3cecc28b803..a3325b82a9d 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