Skip to content

Commit

Permalink
Link to Clippy lint issue instead of just handwaving
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnatsel committed Sep 9, 2024
1 parent c3cec8c commit 873c410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynimage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ impl DynamicImage {
/// If this matters to you, please see the documentation on the variants of [Orientation]
/// to learn which orientations can and cannot be applied without copying.
pub fn apply_orientation(&mut self, orientation: Orientation) -> Result<(), ImageError> {
#![allow(clippy::unit_arg)] // false positive, requires multiple lines for no reason
#![allow(clippy::unit_arg)] // https://github.com/rust-lang/rust-clippy/issues/6521
let image = self;
match orientation {
Orientation::NoTransforms => Ok(()),
Expand Down

0 comments on commit 873c410

Please sign in to comment.