Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: typo s/random_nostd/random/
Signed-off-by: Yuuki Takano <[email protected]>
  • Loading branch information
ytakano committed Jan 14, 2025
commit b71bf7e12513ebfcff561f49b12f7455826132f3
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
Loading