Skip to content

Commit 269e8a4

Browse files
authored
Update file.rs
1 parent a01cc53 commit 269e8a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub fn read_exact(file: &File, offset: u64, size: usize) -> std::io::Result<Slic
1616
// SAFETY: This slice builder starts uninitialized, but we know its length
1717
//
1818
// 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),
19+
// If that number does not match the slice length, the function errors,
2020
// so the (partially) uninitialized buffer is discarded
2121
//
2222
// Additionally, generally, block loads furthermore do a checksum check which

0 commit comments

Comments
 (0)