remove redundant closure

This commit is contained in:
Dmitry Shlagoff
2026-05-12 16:12:33 +02:00
parent 095fa1227a
commit 2bbb6487ec

View File

@@ -9512,7 +9512,7 @@ impl Machine {
fn rng() -> &'static dyn SecureRandom {
use std::ops::Deref;
static RANDOM: LazyLock<SystemRandom> = LazyLock::new(|| SystemRandom::new());
static RANDOM: LazyLock<SystemRandom> = LazyLock::new(SystemRandom::new);
RANDOM.deref()
}