Skip to content

Commit 1a29517

Browse files
committed
Rename function.
1 parent 36572f2 commit 1a29517

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/hex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ mod benches {
356356
) {
357357
let mut rng = rand::rng();
358358
let input = std::iter::repeat(())
359-
.map(|()| rng.r#gen::<u8>())
359+
.map(|()| rng.r#random::<u8>())
360360
.take(len)
361361
.collect::<Vec<_>>();
362362
let mut dst = vec![0; input.len() * 2];

0 commit comments

Comments
 (0)