diff options
| author | Jack O'Connor <[email protected]> | 2022-06-07 21:52:51 -0700 |
|---|---|---|
| committer | Jack O'Connor <[email protected]> | 2022-06-07 21:52:51 -0700 |
| commit | 46cf7b73157516c9d3b63cd7d218ad8d0951c1cd (patch) | |
| tree | afbe539c4d6412d8a81053d212f4529ccdcc81bf /src | |
| parent | b776e8f32885b58b850c03ccdb66c72dfb404459 (diff) | |
simplify a line in the docs example code
The same change was previously made in README.md.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ //! let mut output = [0; 1000]; //! let mut output_reader = hasher.finalize_xof(); //! output_reader.fill(&mut output); -//! assert_eq!(&output[..32], hash1.as_bytes()); +//! assert_eq!(hash1, output[..32]); //! # } //! //! // Print a hash as hex. |
