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 }