diff options
author | Aleksey Kladov <[email protected]> | 2018-01-15 18:44:30 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-01-15 18:44:30 +0000 |
commit | 91fb7e208863eb712654367c0793f010e118a918 (patch) | |
tree | 8744797aae9175f4b2954333e54b3dd4097919e2 /src/parser/event_parser/grammar/paths.rs | |
parent | 08f7c69f90bac772c69b3bf34877f3d9a845c541 (diff) |
Rename `many` -> `repeat`
Diffstat (limited to 'src/parser/event_parser/grammar/paths.rs')
-rw-r--r-- | src/parser/event_parser/grammar/paths.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/event_parser/grammar/paths.rs b/src/parser/event_parser/grammar/paths.rs index 62d1a3bb2..45f3cb779 100644 --- a/src/parser/event_parser/grammar/paths.rs +++ b/src/parser/event_parser/grammar/paths.rs | |||
@@ -12,7 +12,7 @@ pub(crate) fn use_path(p: &mut Parser) { | |||
12 | node(p, PATH, |p| { | 12 | node(p, PATH, |p| { |
13 | path_segment(p, true); | 13 | path_segment(p, true); |
14 | }); | 14 | }); |
15 | many(p, |p| { | 15 | repeat(p, |p| { |
16 | let curr = p.mark(); | 16 | let curr = p.mark(); |
17 | if p.current() == COLONCOLON && !items::is_use_tree_start(p.raw_lookahead(1)) { | 17 | if p.current() == COLONCOLON && !items::is_use_tree_start(p.raw_lookahead(1)) { |
18 | node(p, PATH, |p| { | 18 | node(p, PATH, |p| { |