Skip to content

Commit 22068b9

Browse files
committed
Apply keyword_idents_2024
1 parent 581c808 commit 22068b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: examples/hex.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ mod benches {
329329
) {
330330
let mut rng = rand::thread_rng();
331331
let input = std::iter::repeat(())
332-
.map(|()| rng.gen::<u8>())
332+
.map(|()| rng.r#gen::<u8>())
333333
.take(len)
334334
.collect::<Vec<_>>();
335335
let mut dst = vec![0; input.len() * 2];

0 commit comments

Comments
 (0)