Skip to content

Commit 352a72c

Browse files
committed
cmov: docs fix: array => slice
1 parent 39e2101 commit 352a72c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmov/src/slice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ impl Cmov for [u8] {
3232
}
3333
}
3434

35-
/// Optimized implementation for byte arrays which coalesces them into word-sized chunks first,
35+
/// Optimized implementation for byte slices which coalesces them into word-sized chunks first,
3636
/// then performs [`CmovEq`] at the word-level to cut down on the total number of instructions.
3737
///
3838
/// This is only constant-time for equal-length slices, and will short-circuit and set `output`

0 commit comments

Comments
 (0)