diff options
author | Vincent Esche <[email protected]> | 2021-01-08 14:46:48 +0000 |
---|---|---|
committer | Vincent Esche <[email protected]> | 2021-01-09 14:41:29 +0000 |
commit | 21f8239ac8be6093967bc91ec155782d37efcb6a (patch) | |
tree | e4af0f0077f2d736db4651673dbab3d274275f02 /crates/parser | |
parent | 939ca83b34f9a5648d196f85e5cc7d844ba22604 (diff) |
Fixed typos in code comments
Diffstat (limited to 'crates/parser')
-rw-r--r-- | crates/parser/src/grammar/items/use_item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/parser/src/grammar/items/use_item.rs b/crates/parser/src/grammar/items/use_item.rs index 20e6a13cf..5cb8b08e7 100644 --- a/crates/parser/src/grammar/items/use_item.rs +++ b/crates/parser/src/grammar/items/use_item.rs | |||
@@ -46,7 +46,7 @@ fn use_tree(p: &mut Parser, top_level: bool) { | |||
46 | // test use_tree_list | 46 | // test use_tree_list |
47 | // use {crate::path::from::root, or::path::from::crate_name}; // Rust 2018 (with a crate named `or`) | 47 | // use {crate::path::from::root, or::path::from::crate_name}; // Rust 2018 (with a crate named `or`) |
48 | // use {path::from::root}; // Rust 2015 | 48 | // use {path::from::root}; // Rust 2015 |
49 | // use ::{some::arbritrary::path}; // Rust 2015 | 49 | // use ::{some::arbitrary::path}; // Rust 2015 |
50 | // use ::{{{root::export}}}; // Nonsensical but perfectly legal nesting | 50 | // use ::{{{root::export}}}; // Nonsensical but perfectly legal nesting |
51 | T!['{'] => { | 51 | T!['{'] => { |
52 | use_tree_list(p); | 52 | use_tree_list(p); |