remove redundant result handling
This commit is contained in:
parent
5028cf3eec
commit
bbf8659587
|
@ -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> {
|
||||||
|
|
Loading…
Reference in New Issue