Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.
Rust ai-nativedescription-logicsformal-verificationinfrastructure-as-codeisabelle-languageknowledge-graphleanlean4mcpmcp-serverontologyowlowl2reasoningrustshaclsparqltheorem-proving
Fix clippy: unneeded mut on interning closure
FABIOTESS243b0ef5fbe8
diff --git a/src/claimcheck.rs b/src/claimcheck.rsindex 58602f10..08972782 100644--- a/src/claimcheck.rs+++ b/src/claimcheck.rs@@ -188,7 +188,7 @@ impl Index {// Intern every class mentioned anywhere.let mut ids: HashMap<String, u32> = HashMap::new();let mut names: Vec<String> = Vec::new();- let mut intern = |s: &str, ids: &mut HashMap<String, u32>, names: &mut Vec<String>| {+ let intern = |s: &str, ids: &mut HashMap<String, u32>, names: &mut Vec<String>| {if let Some(&i) = ids.get(s) {return i;}