From b45d09e81a4365e70822670453514de83aa2b7fd Mon Sep 17 00:00:00 2001 From: greg Date: Wed, 4 Jan 2017 19:32:06 -0800 Subject: [PATCH] Don't need this reference --- src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }