aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2023-05-01 01:28:01 -0700
committerJack O'Connor <[email protected]>2023-05-01 01:28:01 -0700
commite6e32bc2b1e15ead9db7c6ee82a60f489cd2673d (patch)
treedffcb7e1d318234a969f3d5b9700c4ee29004d51 /src
parent8176a2202dfd3556949cbdab2b669a011231c63b (diff)
small doc tweak
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f1775b9..d046672 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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