Skip to content

Commit

Permalink
chore: Update rand.rs (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
sorairolake authored Feb 20, 2025
1 parent 6070281 commit eee81a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/rand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ use test::Bencher;
#[bench]
fn sample(b: &mut Bencher) {
let mut rng = StepRng::new(0, 1);
b.iter(|| rng.gen::<FileTime>());
b.iter(|| rng.random::<FileTime>());
}

0 comments on commit eee81a6

Please sign in to comment.