diff options
author | Corey Richardson <corey@octayn.net> | 2017-09-24 08:34:58 -0400 |
---|---|---|
committer | Graham Northup <grahamnorthup@yahoo.com> | 2017-09-24 19:01:22 -0400 |
commit | 959fed1d8435070e39bd7b87c1e908f79b65add9 (patch) | |
tree | 971920997b0ecb58a141ed1d30546cb58975e9ff /src/lang/parser.rs | |
parent | 7eef21b3b90898f4ef05fa4220fde608cf55c6ab (diff) |
Fix compiler warnings
Some minor stuff, mostly. The features have been stable since 1.20
Diffstat (limited to 'src/lang/parser.rs')
-rw-r--r-- | src/lang/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<T: Iterator<Item=char>> Parser<T> { }; let tp = self.token.to_type(); - self.expect(tp); + self.expect(tp)?; ret } } |