about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2025-02-09 09:48:01 -0800
committerEric Huss <eric@huss.org>2025-02-09 09:48:01 -0800
commit6040773b55f3123dccebf0cf349e62c122eb3806 (patch)
treec0cee80aeb28bd204a539cd5bd1d30f37e89429c
parent64e9ca74a8ffaedcae2490fe5245ab8c941efe30 (diff)
downloadrust-6040773b55f3123dccebf0cf349e62c122eb3806.tar.gz
rust-6040773b55f3123dccebf0cf349e62c122eb3806.zip
Apply keyword_idents_2024
-rw-r--r--library/stdarch/examples/hex.rs2
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];