From 534cee79a6b9f3f30d69f78ff8ec719753073589 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Mon, 26 Oct 2026 15:29:47 -0400 Subject: [PATCH] Format type3 helpers with rustfmt so the CI fmt check passes --- crates/redact/src/type3.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/crates/redact/src/type3.rs b/crates/redact/src/type3.rs index 906c076aa5..f431dab902 100644 --- a/crates/redact/src/type3.rs +++ b/crates/redact/src/type3.rs @@ -368,7 +368,12 @@ pub(crate) fn prune_type3_from_resources(doc: &Document, res: &mut Dict, content { let extg = res_dict(doc, res, b"ExtGState"); if let Some(font_obj) = extg.get(name).and_then(|state_obj| gs_font_object(doc, state_obj)) { - drawn_font_names.extend(fonts.iter().filter(|(_, fn_obj)| fn_obj.as_ref().is_some() && fn_obj.as_ref() == font_obj.as_ref()).map(|(fn_name, _)| fn_name.to_vec())); + drawn_font_names.extend( + fonts + .iter() + .filter(|(_, fn_obj)| fn_obj.as_ref().is_some() && fn_obj.as_ref() == font_obj.as_ref()) + .map(|(fn_name, _)| fn_name.to_vec()), + ); } } }