From 696dbdd2238e919bffa756fff1f02ace90a81ecb Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 24 Nov 2024 17:18:01 +0100 Subject: Manual clippy --- pixel-client/src/render/font.rs | 2 +- pixel-client/src/ui.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pixel-client/src') diff --git a/pixel-client/src/render/font.rs b/pixel-client/src/render/font.rs index 54c760f1..96347d25 100644 --- a/pixel-client/src/render/font.rs +++ b/pixel-client/src/render/font.rs @@ -40,7 +40,7 @@ impl FontTextures { } } -impl<'a> Renderer<'a> { +impl Renderer<'_> { pub fn draw_text( &mut self, position: Vec2, diff --git a/pixel-client/src/ui.rs b/pixel-client/src/ui.rs index a77d2856..ad0b07a9 100644 --- a/pixel-client/src/ui.rs +++ b/pixel-client/src/ui.rs @@ -119,7 +119,7 @@ impl FocusDevice { } } -impl<'a, 'b> Ui<'a, 'b> { +impl Ui<'_, '_> { pub fn vertical(&mut self, content: impl FnOnce(&mut Ui)) { self.flow(false, content) } -- cgit v1.2.3-70-g09d2