Skip to content

Commit

Permalink
Fix clippy warning after Transform has Copy trait (#764)
Browse files Browse the repository at this point in the history
  • Loading branch information
drott authored Jan 23, 2024
1 parent c31397f commit 889db00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skrifa/src/color/traversal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl<'a> ColorPainter for CollectFillGlyphPainter<'a> {
fn fill(&mut self, brush: Brush<'_>) {
if self.optimization_success {
self.parent_painter
.fill_glyph(self.glyph_id, self.brush_transform.clone(), brush);
.fill_glyph(self.glyph_id, self.brush_transform, brush);
}
}

Expand Down

0 comments on commit 889db00

Please sign in to comment.