Skip to content

Commit ca332a6

Browse files
committed
Added optional pub to use_decl EBNF.
1 parent 7671247 commit ca332a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ extern mod ruststd (name = "std"); // linking to 'std' under another name
798798
##### Use declarations
799799

800800
~~~~~~~~ {.ebnf .gram}
801-
use_decl : "use" ident [ '=' path
801+
use_decl : "pub"? "use" ident [ '=' path
802802
| "::" path_glob ] ;
803803
804804
path_glob : ident [ "::" path_glob ] ?

0 commit comments

Comments
 (0)