remove redundant result handling

This commit is contained in:
mos 2024-07-28 09:04:39 +02:00
parent 5028cf3eec
commit bbf8659587
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ impl<R: BufRead> Deserializer<R> {
return Err(Error::ExpectedConst); return Err(Error::ExpectedConst);
}; };
Ok(self.read_uint((4 * (width + 1)) as usize)?) self.read_uint((4 * (width + 1)) as usize)
} }
fn parse_data(&mut self) -> Result<u64> { fn parse_data(&mut self) -> Result<u64> {