diff options
| author | Jack O'Connor <[email protected]> | 2020-08-14 11:33:45 -0400 |
|---|---|---|
| committer | Jack O'Connor <[email protected]> | 2020-08-14 11:33:53 -0400 |
| commit | 09cc03614dc8edc9ffccad256178e84699fe4fc7 (patch) | |
| tree | 676bbac47dfcc8d5c0bf24346810963447727b59 | |
| parent | 88094169fcfa0256a64e0159377cc03875be0dd4 (diff) | |
the same hex example for rustdocs
| -rw-r--r-- | src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -23,6 +23,9 @@ //! output_reader.fill(&mut output); //! assert_eq!(&output[..32], hash1.as_bytes()); //! # } +//! +//! // Print a hash as hex. +//! println!("{}", hash1.to_hex()); //! # Ok(()) //! # } //! ``` |
