We don't need map

This commit is contained in:
Jeff Muizelaar
2018-03-26 19:24:25 -04:00
parent 944e43ec83
commit 4d908ec153
+1 -1
View File
@@ -260,7 +260,7 @@ impl<'a> ParserState<'a> {
}
fn peek(&self) -> Option<u8> {
self.input.first().map(|&u| u)
self.input.first().cloned()
}
fn get(&mut self) -> Result<u8> {