From 787077153b96447af74ac19ad437eb3729f2a648 Mon Sep 17 00:00:00 2001 From: KiraCoding <38864051+KiraCoding@users.noreply.github.com> Date: Fri, 13 Sep 2024 10:39:53 +0200 Subject: [PATCH] wip --- src/program.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/program.rs b/src/program.rs index cd9cb1c..58e5e00 100644 --- a/src/program.rs +++ b/src/program.rs @@ -8,11 +8,10 @@ use rayon::iter::IndexedParallelIterator; use rayon::slice::ParallelSlice; use std::sync::LazyLock; -static PROGRAM: LazyLock = LazyLock::new(Program::init); - /// Returns a reference to the global [`Program`] instance. #[inline] pub fn program() -> &'static Program { + static PROGRAM: LazyLock = LazyLock::new(Program::init); &PROGRAM }