Skip to content

Commit

Permalink
Fix bug in DekuContainerRead::from_reader docs
Browse files Browse the repository at this point in the history
Closes #504
  • Loading branch information
wcampbell0x2a committed Jan 18, 2025
1 parent fbaf868 commit dd36c37
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,6 @@ pub trait DekuContainerRead<'a>: DekuReader<'a, ()> {
/// magic: [u8; 4],
/// version: u8,
/// }
/// ```
/// let mut file = File::options().read(true).open("file").unwrap();
/// file.seek(SeekFrom::Start(0)).unwrap();
/// let ec = EcHdr::from_reader((&mut file, 0)).unwrap();
Expand Down

0 comments on commit dd36c37

Please sign in to comment.