From 5f8585c434ec830518c868c18cc4cfb7eadeada7 Mon Sep 17 00:00:00 2001 From: Stefano Amorelli Date: Sat, 16 Aug 2025 17:39:23 +0300 Subject: [PATCH] fix: remove invalid fact iteration in parse example - FactStorage doesn't convert to Vec directly - Simplified example to just show counts --- examples/parse.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/parse.rs b/examples/parse.rs index 4275d6d..baf75eb 100644 --- a/examples/parse.rs +++ b/examples/parse.rs @@ -18,11 +18,5 @@ fn main() -> Result<(), Box> { println!(" Contexts: {}", doc.contexts.len()); println!(" Units: {}", doc.units.len()); - // Show first 5 facts - let facts_vec: Vec<_> = doc.facts.clone().into(); - for fact in facts_vec.iter().take(5) { - println!(" - {}: {}", fact.name, fact.value); - } - Ok(()) } \ No newline at end of file