diff options
Diffstat (limited to 'src/utils.rs')
-rw-r--r-- | src/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.rs b/src/utils.rs index f623f27..705ca1a 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -13,7 +13,7 @@ pub(crate) fn shuffle<T>(v: &mut [T]) { } thread_local! { - static RNG: Cell<Wrapping<u32>> = Cell::new(Wrapping(1_406_868_647)); + static RNG: Cell<Wrapping<u32>> = const { Cell::new(Wrapping(1_406_868_647)) }; } let _ = RNG.try_with(|rng| { |