Skip to content

Commit 213a9f3

Browse files
committed
docs: remove usize pread, as it was removed many releases ago; fixes #116
1 parent d21c45d commit 213a9f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ fn main() -> Result<(), scroll::Error> {
132132
let mut bytes = Cursor::new(bytes_);
133133

134134
// this will bump the cursor's Seek
135-
let foo = bytes.ioread::<usize>()?;
135+
let foo = bytes.ioread::<u64>()?;
136136
// ..ditto
137137
let bar = bytes.ioread::<u32>()?;
138138
Ok(())

0 commit comments

Comments
 (0)