janitor: Remove some unnecessary references

These are immediently dereferenced by the compiler according to clippy.

Remove some now unnecessary muts to make things build again.
This commit is contained in:
Tobias Hunger 2022-01-04 11:37:26 +01:00
parent e99c1afa4b
commit 3e448f75eb
No known key found for this signature in database
GPG key ID: 60874021D2F23F91
17 changed files with 57 additions and 68 deletions

View file

@ -759,7 +759,7 @@ impl ItemRenderer for GLItemRenderer {
cache.borrow_mut().font(
self.graphics_window.default_font_properties(),
self.scale_factor,
&string,
string,
)
});
let paint = font.init_paint(0.0, femtovg::Paint::color(to_femtovg_color(&color)));