Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV committed Nov 14, 2023
1 parent f2f8c80 commit d60f816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/svg2pdf/src/util/defer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ impl Deferrer {
}

pub fn used_srgb(&self) -> bool {
return self.srgb_ref.is_some();
self.srgb_ref.is_some()
}

pub fn used_sgray(&self) -> bool {
return self.sgray_ref.is_some();
self.sgray_ref.is_some()
}

pub fn srgb_ref(&mut self) -> Ref {
Expand Down

0 comments on commit d60f816

Please sign in to comment.