Skip to content

Commit

Permalink
More clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV committed Nov 29, 2024
1 parent 1205af7 commit 0ff5c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/krilla/src/chunk_container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl ChunkContainer {
&self.shading_functions, &self.patterns
);

if !self.metadata.as_ref().is_some_and(|m| m.title.is_some()) {
if self.metadata.as_ref().is_none_or(|m| m.title.is_none()) {
sc.register_validation_error(ValidationError::NoDocumentTitle);
}

Expand Down

0 comments on commit 0ff5c02

Please sign in to comment.