Skip to content

Commit

Permalink
libdf: Silence new clippy version
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrik Schroeter authored and Rikorose committed Jan 19, 2024
1 parent ec93dde commit a4a314d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libDF/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub struct SeededRng {
thread_local!(
static THREAD_SEEDED_RNG: Rc<UnsafeCell<Xoshiro256PlusPlus>> =
Rc::new(UnsafeCell::new(Xoshiro256PlusPlus::seed_from_u64(0)));
static SEEDED: RefCell<bool> = RefCell::new(false);
static SEEDED: RefCell<bool> = const { RefCell::new(false) };
);

pub fn seed_from_u64(x: u64) {
Expand Down

0 comments on commit a4a314d

Please sign in to comment.