From 2bbb6487ecb7358483b7cd5aa01eaf064ee769bf Mon Sep 17 00:00:00 2001 From: Dmitry Shlagoff Date: Tue, 12 May 2026 16:12:33 +0200 Subject: [PATCH] remove redundant closure --- src/machine/system_calls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machine/system_calls.rs b/src/machine/system_calls.rs index aac650a1..d80a9565 100644 --- a/src/machine/system_calls.rs +++ b/src/machine/system_calls.rs @@ -9512,7 +9512,7 @@ impl Machine { fn rng() -> &'static dyn SecureRandom { use std::ops::Deref; - static RANDOM: LazyLock = LazyLock::new(|| SystemRandom::new()); + static RANDOM: LazyLock = LazyLock::new(SystemRandom::new); RANDOM.deref() } -- 2.54.0