Don't need this reference

This commit is contained in:
greg 2017-01-04 19:32:06 -08:00
parent 761500b9d6
commit b45d09e81a

View File

@ -174,7 +174,7 @@ impl Parser {
let mut ast = Vec::new(); //TODO have this come from previously-parsed tree let mut ast = Vec::new(); //TODO have this come from previously-parsed tree
loop { loop {
let result: ParseResult<Statement> = match self.peek() { let result: ParseResult<Statement> = match self.peek() {
Some(ref t) if is_delimiter(&t) => { Some(ref t) if is_delimiter(t) => {
self.next(); self.next();
continue; continue;
} }