aboutsummaryrefslogtreecommitdiff
path: root/src/parser/event_parser/grammar/paths.rs
diff options
context:
space:
mode:
authorChristopher Durham <[email protected]>2018-01-27 23:51:12 +0000
committerGitHub <[email protected]>2018-01-27 23:51:12 +0000
commite6e61251abb68b3e6a47fd3708f4dea6059a9ec3 (patch)
treec22cfa06a26add11f3aefca3806f0009dd25d923 /src/parser/event_parser/grammar/paths.rs
parent357cd3358167daa38f3ff34d225e1501faff6015 (diff)
parent9140b3e7286efae57ee8c49c7bfcad8737f9c6fc (diff)
Merge pull request #12 from CAD97/enforce-fmt
Enforce rustfmt format
Diffstat (limited to 'src/parser/event_parser/grammar/paths.rs')
-rw-r--r--src/parser/event_parser/grammar/paths.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/parser/event_parser/grammar/paths.rs b/src/parser/event_parser/grammar/paths.rs
index b58c59aef..4e028073a 100644
--- a/src/parser/event_parser/grammar/paths.rs
+++ b/src/parser/event_parser/grammar/paths.rs
@@ -34,9 +34,7 @@ fn path_segment(p: &mut Parser, first: bool) {
34 p.bump(); 34 p.bump();
35 } 35 }
36 _ => { 36 _ => {
37 p.error() 37 p.error().message("expected identifier").emit();
38 .message("expected identifier")
39 .emit();
40 } 38 }
41 }; 39 };
42 segment.complete(p, PATH_SEGMENT); 40 segment.complete(p, PATH_SEGMENT);