remove redundant closure
This commit is contained in:
@@ -9512,7 +9512,7 @@ impl Machine {
|
|||||||
fn rng() -> &'static dyn SecureRandom {
|
fn rng() -> &'static dyn SecureRandom {
|
||||||
use std::ops::Deref;
|
use std::ops::Deref;
|
||||||
|
|
||||||
static RANDOM: LazyLock<SystemRandom> = LazyLock::new(|| SystemRandom::new());
|
static RANDOM: LazyLock<SystemRandom> = LazyLock::new(SystemRandom::new);
|
||||||
|
|
||||||
RANDOM.deref()
|
RANDOM.deref()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user