diff options
| author | Jack O'Connor <[email protected]> | 2019-12-13 13:12:06 -0500 |
|---|---|---|
| committer | Jack O'Connor <[email protected]> | 2019-12-13 13:12:06 -0500 |
| commit | 0c245f21bf7f7b723b9714815e73fa5cc72a0724 (patch) | |
| tree | f752f51b6c343d60e600d1a37fe1367169064d47 /src | |
| parent | aa0d282ee517996fd584038a8046a3ed423f2302 (diff) | |
fix the doc tests build
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -20,6 +20,7 @@ //! assert_eq!(hash1, hash2); //! //! // Extended output. +//! # #[cfg(feature = "std")] { //! let mut output = Vec::new(); //! blake3::Hasher::new() //! .update(b"foobarbaz") @@ -28,6 +29,7 @@ //! .read_to_end(&mut output)?; //! assert_eq!(output.len(), 1000); //! assert_eq!(&output[..32], hash1.as_bytes()); +//! # } //! # Ok(()) //! # } //! ``` |
