From da5a66427635fcb4f856d189fdb8f99fb66b1ab2 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sun, 8 Nov 2026 11:14:23 -0500 Subject: [PATCH] review: keep reading queued forms after one that will not decode --- crates/redact/src/interp/prune.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/crates/redact/src/interp/prune.rs b/crates/redact/src/interp/prune.rs index d8742a73c5..b8a35c5576 100644 --- a/crates/redact/src/interp/prune.rs +++ b/crates/redact/src/interp/prune.rs @@ -29,6 +29,9 @@ fn names_drawn(doc: &Document, content: &[Vec], xo: &Dict) -> (HashSet], xo: &Dict) -> (HashSet pending.push((pdfcraft_content::parse(&data).ops, depth + 1)), - _ => return (drawn, true), + _ => unknown = true, } } } - (drawn, false) + (drawn, unknown) } /// Whether any of `drawn` (from [`names_drawn`]) draws `name`: `None` when none is known to and