diff --git a/src/parser.rs b/src/parser.rs index ebce50c..f2a570c 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -174,7 +174,7 @@ impl Parser { let mut ast = Vec::new(); //TODO have this come from previously-parsed tree loop { let result: ParseResult = match self.peek() { - Some(ref t) if is_delimiter(&t) => { + Some(ref t) if is_delimiter(t) => { self.next(); continue; }