Skip to content

Commit

Permalink
Ignore doctest for internal doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jssblck committed Jun 5, 2024
1 parent 070e65f commit cf4267c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fingerprint/binary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ use std::io::Read;
///
/// The read bytes are buffered in this structure so that they can be re-read
/// by the actual fingerprint implementation.
/// ```
/// ```ignore
/// let content = String::from("test_").repeat(2000);
/// let mut reader = std::io::Cursor::new(&content);
/// let Check { read, .. } = Check::content(&mut reader).expect("read");
///
/// let mut read_content = String::new();
/// Cursor::new(read).chain(reader).expect("read");
/// std::io::Cursor::new(read).chain(reader).expect("read");
/// assert_eq!(content, read_content)
/// ```
#[derive(Clone)]
Expand Down

0 comments on commit cf4267c

Please sign in to comment.