Skip to content

Commit

Permalink
fix: typo s/random_nostd/random/
Browse files Browse the repository at this point in the history
Signed-off-by: Yuuki Takano <ytakanoster@gmail.com>
  • Loading branch information
ytakano committed Jan 14, 2025
1 parent 9e7d2f7 commit b71bf7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion futures-util/src/async_await/random.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fn random() -> u64 {
}

#[cfg(not(feature = "std"))]
fn random_nostd() -> u64 {
fn random() -> u64 {
use core::sync::atomic::{AtomicUsize, Ordering};

static RNG: AtomicUsize = AtomicUsize::new(1);
Expand Down

0 comments on commit b71bf7e

Please sign in to comment.