Fix clippy warning

This commit is contained in:
gwenn 2023-02-03 18:44:21 +01:00
parent cbf49b4c92
commit 8d318b3a03

View File

@ -265,7 +265,7 @@ mod test {
)); ));
blob.raw_read_at_exact(&mut s2, 5).unwrap_err(); blob.raw_read_at_exact(&mut s2, 5).unwrap_err();
let end_pos = blob.seek(std::io::SeekFrom::Current(0)).unwrap(); let end_pos = blob.stream_position().unwrap();
assert_eq!(end_pos, 1); assert_eq!(end_pos, 1);
Ok(()) Ok(())
} }