]> Repositorios git - scryer-prolog.git/commitdiff
fix copy-past error
authorBennet Bleßmann <[email protected]>
Thu, 25 Jul 2024 22:13:49 +0000 (00:13 +0200)
committerBennet Bleßmann <[email protected]>
Thu, 25 Jul 2024 22:13:49 +0000 (00:13 +0200)
src/machine/mod.rs

index 9110ae9c8c2018775c4c2282ab505fa01e7eb4b4..cfba56662118175fa024f002cca6f7925e8d8038 100644 (file)
@@ -148,7 +148,7 @@ mod libraries {
     use indexmap::IndexMap;
     use std::sync::LazyLock;
 
-    static LIBRARIES: LazyLock<IndexMap<&'static str, &'static str>> = OnceLock::new(|| {
+    static LIBRARIES: LazyLock<IndexMap<&'static str, &'static str>> = LazyLock::new(|| {
         let mut m = IndexMap::new();
 
         include!(concat!(env!("OUT_DIR"), "/libraries.rs"));