chore: Fix clippy warnings in debug binaries

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Abimael Martell
2026-02-13 12:57:49 -08:00
co-authored by Claude Opus 4.6
parent 8c4b9d2d07
commit d3d3f27451
2 changed files with 8 additions and 10 deletions
+6 -8
View File
@@ -56,14 +56,12 @@ fn main() {
if let Some(enc_dict) = enc_dict {
// Check BaseEncoding
if let Ok(base) = enc_dict.get(b"BaseEncoding") {
if let lopdf::Object::Name(name) = base {
println!(
" font={}: BaseEncoding={}",
font_name,
String::from_utf8_lossy(name)
);
}
if let Ok(lopdf::Object::Name(name)) = enc_dict.get(b"BaseEncoding") {
println!(
" font={}: BaseEncoding={}",
font_name,
String::from_utf8_lossy(name)
);
}
// Dump Differences
+2 -2
View File
@@ -80,8 +80,8 @@ fn main() {
println!("===== PAGE {} ({} lines) =====", page, page_lines.len());
println!(
"{:>8} {:>8} {:>8} {:>6} {:>5} {}",
"Y", "Gap", "GapRatio", "Font", "Bold", "Text (first 80 chars)"
"{:>8} {:>8} {:>8} {:>6} {:>5} Text (first 80 chars)",
"Y", "Gap", "GapRatio", "Font", "Bold"
);
println!("{}", "-".repeat(120));