We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a01cc53 commit 269e8a4Copy full SHA for 269e8a4
src/file.rs
@@ -16,7 +16,7 @@ pub fn read_exact(file: &File, offset: u64, size: usize) -> std::io::Result<Slic
16
// SAFETY: This slice builder starts uninitialized, but we know its length
17
//
18
// We use read_at/seek_read which give us the number of bytes read
19
- // If that number does not match the slice length, the function panics (for now),
+ // If that number does not match the slice length, the function errors,
20
// so the (partially) uninitialized buffer is discarded
21
22
// Additionally, generally, block loads furthermore do a checksum check which
0 commit comments