Skip to content

Commit

Permalink
rt: context::rng for rt config
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorErin committed Mar 4, 2025
1 parent df3ec02 commit d6f61e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tokio/src/runtime/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ tokio_thread_local! {
#[cfg(any(
feature = "time",
feature = "macros",
feature = "rt-multi-thread",
all(feature = "sync", feature = "rt")
))]
pub(crate) fn thread_rng_n(n: u32) -> u32 {
Expand Down

0 comments on commit d6f61e7

Please sign in to comment.