From a4a314d6c2afcf9365073aad2b0ab76d5e1f551e Mon Sep 17 00:00:00 2001 From: Hendrik Schroeter Date: Fri, 19 Jan 2024 10:43:14 +0100 Subject: [PATCH] libdf: Silence new clippy version --- libDF/src/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libDF/src/util.rs b/libDF/src/util.rs index 832925fc8..e1a0fd2a8 100644 --- a/libDF/src/util.rs +++ b/libDF/src/util.rs @@ -31,7 +31,7 @@ pub struct SeededRng { thread_local!( static THREAD_SEEDED_RNG: Rc> = Rc::new(UnsafeCell::new(Xoshiro256PlusPlus::seed_from_u64(0))); - static SEEDED: RefCell = RefCell::new(false); + static SEEDED: RefCell = const { RefCell::new(false) }; ); pub fn seed_from_u64(x: u64) {