diff options
author | metamuffin <metamuffin@disroot.org> | 2024-09-16 18:00:28 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-09-16 18:00:35 +0200 |
commit | 499f4994a6a8507dcca20ed820c851be9a2343c1 (patch) | |
tree | 9100c6c924e116e811d94d7188353f87819d02d3 /pixel-client/src/ui.rs | |
parent | 709fd5ddaaec290165e85b48b237cb82563b9e87 (diff) | |
download | hurrycurry-499f4994a6a8507dcca20ed820c851be9a2343c1.tar hurrycurry-499f4994a6a8507dcca20ed820c851be9a2343c1.tar.bz2 hurrycurry-499f4994a6a8507dcca20ed820c851be9a2343c1.tar.zst |
fix all clippy things
Diffstat (limited to 'pixel-client/src/ui.rs')
-rw-r--r-- | pixel-client/src/ui.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pixel-client/src/ui.rs b/pixel-client/src/ui.rs index 9e3e1a3e..a77d2856 100644 --- a/pixel-client/src/ui.rs +++ b/pixel-client/src/ui.rs @@ -204,7 +204,7 @@ impl<'a, 'b> Ui<'a, 'b> { let margin = Vec2::splat(4.); let text_size = self .renderer - .draw_text(self.cursor + margin, &content, 1., None); + .draw_text(self.cursor + margin, content, 1., None); let size = margin + Vec2::new(w, text_size.y) + margin; self.index += 1; |