diff options
| author | Jack O'Connor <[email protected]> | 2023-05-01 01:28:01 -0700 |
|---|---|---|
| committer | Jack O'Connor <[email protected]> | 2023-05-01 01:28:01 -0700 |
| commit | e6e32bc2b1e15ead9db7c6ee82a60f489cd2673d (patch) | |
| tree | dffcb7e1d318234a969f3d5b9700c4ee29004d51 /src | |
| parent | 8176a2202dfd3556949cbdab2b669a011231c63b (diff) | |
small doc tweak
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -177,8 +177,8 @@ fn counter_high(counter: u64) -> u32 { /// equality checking. /// /// `Hash` implements [`From`] and [`Into`] for `[u8; 32]`, and it provides -/// explicit [`from_bytes`], and [`as_bytes`] for conversions between itself -/// and `[u8; 32]`. However, byte arrays and slices don't provide constant-time +/// [`from_bytes`] and [`as_bytes`] for explicit conversions between itself and +/// `[u8; 32]`. However, byte arrays and slices don't provide constant-time /// equality checking, which is often a security requirement in software that /// handles private data. `Hash` doesn't implement [`Deref`] or [`AsRef`], to /// avoid situations where a type conversion happens implicitly and the |
