From 0a9f23583603ba532eba73a642de9dadb3485fdb Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Fri, 24 Aug 2018 17:21:45 -0700 Subject: [PATCH] [parser] Be a little nicer about line wrapping --- parser/src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/parser/src/lib.rs b/parser/src/lib.rs index a9a0506..256ad17 100644 --- a/parser/src/lib.rs +++ b/parser/src/lib.rs @@ -110,8 +110,7 @@ impl Iterator for Parser where T: Iterator { self.next_lex() }, Some(NodeParseResult::Push{ next }) => { - // Push the next parser on and give it a shot at the current - // token. + // Push the next parser on and give it a shot at the current token. self.push_parser(next); input_lex }, @@ -122,8 +121,7 @@ impl Iterator for Parser where T: Iterator { }; match input_lex { Some(Ok(ref lex)) => { - // TODO: Valid Lex from our input. Hand it off to the - // current parser and process the result. + // TODO: Valid Lex from our input. Hand it off to the current parser and process the result. result = Some(self.parse_lex(lex)); }, Some(Err(ref error)) => {