A bunch of clippy fixes
This commit is contained in:
1 parent
daa0e3eabf
commit
60f866c119
11 files changed
+59
-61
No files matched your search
+1
-1
@@ -537,7 +537,7 @@ impl Entry {
|
||||
Ok(UnsignedBig(u64::from(buf[0])))
|
||||
}),
|
||||
Type::SBYTE => self.decode_offset(self.count, bo, bigtiff, limits, reader, |reader| {
|
||||
Ok(SignedBig(i64::from(reader.read_i8()? as i8)))
|
||||
Ok(SignedBig(i64::from(reader.read_i8()?)))
|
||||
}),
|
||||
Type::SHORT => self.decode_offset(self.count, bo, bigtiff, limits, reader, |reader| {
|
||||
Ok(UnsignedBig(u64::from(reader.read_u16()?)))
|
||||
|
||||
Reference in new issue
Block a user