diff options
| author | Eric Huss <eric@huss.org> | 2025-02-09 09:48:01 -0800 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2025-02-09 09:48:01 -0800 |
| commit | 6040773b55f3123dccebf0cf349e62c122eb3806 (patch) | |
| tree | c0cee80aeb28bd204a539cd5bd1d30f37e89429c | |
| parent | 64e9ca74a8ffaedcae2490fe5245ab8c941efe30 (diff) | |
| download | rust-6040773b55f3123dccebf0cf349e62c122eb3806.tar.gz rust-6040773b55f3123dccebf0cf349e62c122eb3806.zip | |
Apply keyword_idents_2024
| -rw-r--r-- | library/stdarch/examples/hex.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/stdarch/examples/hex.rs b/library/stdarch/examples/hex.rs index 2c10f8d3479..add2bc47f6f 100644 --- a/library/stdarch/examples/hex.rs +++ b/library/stdarch/examples/hex.rs @@ -329,7 +329,7 @@ mod benches { ) { let mut rng = rand::thread_rng(); let input = std::iter::repeat(()) - .map(|()| rng.gen::<u8>()) + .map(|()| rng.r#gen::<u8>()) .take(len) .collect::<Vec<_>>(); let mut dst = vec![0; input.len() * 2]; |
