From 959fed1d8435070e39bd7b87c1e908f79b65add9 Mon Sep 17 00:00:00 2001 From: Corey Richardson Date: Sun, 24 Sep 2017 08:34:58 -0400 Subject: Fix compiler warnings Some minor stuff, mostly. The features have been stable since 1.20 --- src/lang/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lang/parser.rs') diff --git a/src/lang/parser.rs b/src/lang/parser.rs index d068b07..5264554 100644 --- a/src/lang/parser.rs +++ b/src/lang/parser.rs @@ -169,7 +169,7 @@ impl> Parser { }; let tp = self.token.to_type(); - self.expect(tp); + self.expect(tp)?; ret } } -- cgit v1.2.3-70-g09d2