mirror of
https://github.com/encounter/msvc-demangler-rust.git
synced 2026-07-10 12:18:38 -07:00
We don't need map
This commit is contained in:
+1
-1
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user