mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-09 04:22:20 +00:00
Format the renamed helper's call
This commit is contained in:
1 parent
fbff06bd83
commit
12dfc73cfd
1 file changed
+2
-1
@@ -287,7 +287,8 @@ pub(crate) fn unlink_doomed(doc: &mut Document, doomed: &[ObjRef], retired_prope
|
||||
}
|
||||
let mut pruned = false;
|
||||
// What each page draws through this dictionary, worked out once for all the names.
|
||||
let drawn: Vec<_> = if names.is_empty() { Vec::new() } else { contents.iter().map(|content| names_content_draws(doc, content, &xo)).collect() };
|
||||
let drawn: Vec<_> =
|
||||
if names.is_empty() { Vec::new() } else { contents.iter().map(|content| names_content_draws(doc, content, &xo)).collect() };
|
||||
for n in names {
|
||||
match any_draws(&drawn, &n) {
|
||||
Some(true) => {}
|
||||
|
||||
Reference in new issue
Block a user