Skip to content

Commit

Permalink
cargo fix + cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Feb 25, 2025
1 parent a6c4d1b commit 37ad047
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/deserialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1963,11 +1963,12 @@ mod links_and_bookmarks {
use lopdf::{Dictionary, Document, Object, ObjectId};

use crate::{
Pt,
annotation::{
Actions, BorderArray, ColorArray, DashPhase, Destination, HighlightingMode,
LinkAnnotation, PageAnnotation,
},
graphics::Rect, Pt,
graphics::Rect,
};

/// Returns an empty vector if any required key is missing.
Expand Down Expand Up @@ -2118,7 +2119,7 @@ mod links_and_bookmarks {
.and_then(|obj| obj.as_array().ok())
.map(|s| extract_color_array(s.as_slice()))
.unwrap_or_else(ColorArray::default);

// Extract highlighting mode.
let highlighting = annot_dict
.get(b"H")
Expand Down Expand Up @@ -2389,7 +2390,7 @@ mod extgstate {
FontId,
graphics::{
BlendMode, ChangedField, ExtendedGraphicsState, LineCapStyle, LineDashPattern,
LineJoinStyle, OverprintMode, RenderingIntent, SoftMask,
LineJoinStyle, OverprintMode, RenderingIntent,
},
};

Expand Down

0 comments on commit 37ad047

Please sign in to comment.