Skip to content

Commit

Permalink
fix: compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
denysvitali authored Dec 3, 2024
1 parent 1def76e commit 397171b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ impl PopplerDocument {
"Password invalid (possibly contains NUL characters)",
)
})?)
}

/// Returns the number of pages.
///
Expand All @@ -148,7 +149,6 @@ impl PopplerDocument {
/// Indicates whether this document has no pages.
pub fn is_empty(&self) -> bool {
self.len() == 0

}
}

Expand Down

0 comments on commit 397171b

Please sign in to comment.