Skip to content

Commit 02ce155

Browse files
committed
Update uint::rand::tests::get_four_sequential_rng docstring
1 parent 5f1cf39 commit 02ce155

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/uint/rand.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ mod tests {
176176
"0F6760A48F9B887CB2FB0D3281E2A6E67746A55FBAD8C037B585F767A79A3B6C"
177177
]);
178178

179-
/// Construct 4-sequential `rng`, i.e.,
179+
/// Construct a 4-sequential `rng`, i.e., an `rng` such that
180180
/// `rng.fill_bytes(&mut buffer[..x]); rng.fill_bytes(&mut buffer[x..])` will construct the
181-
/// same `buffer`, regardless the choice of `x` in `0..buffer.len()`.
181+
/// same `buffer`, for `x` any in `0..buffer.len()` that is `0 mod 4`.
182182
fn get_four_sequential_rng() -> ChaCha8Rng {
183183
ChaCha8Rng::seed_from_u64(0)
184184
}

0 commit comments

Comments
 (0)