Skip to content

Commit

Permalink
Apply clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
johanhelsing committed Mar 22, 2022
1 parent 9914ce1 commit eea99ec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,7 @@ fn extract_shapes(
continue;
}

let frame = match shape.frame {
Frame::Quad(s) => s,
};
let Frame::Quad(frame) = shape.frame;

extracted_shapes.0.alloc().init(ExtractedShape {
color: shape.color,
Expand Down

0 comments on commit eea99ec

Please sign in to comment.