Skip to content

Commit

Permalink
Remove unnecessary mutable reference in iced_tiny_skia
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Sep 3, 2023
1 parent 8129e2c commit 1a1da6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiny_skia/src/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl Pipeline {
};

draw(
&mut self.font_system.get_mut(),
self.font_system.get_mut(),
&mut self.glyph_cache,
paragraph.buffer(),
Rectangle::new(position, paragraph.min_bounds()),
Expand Down

0 comments on commit 1a1da6a

Please sign in to comment.