diff options
Diffstat (limited to 'pixel-client/src')
-rw-r--r-- | pixel-client/src/render/font.rs | 2 | ||||
-rw-r--r-- | pixel-client/src/ui.rs | 2 |
2 files changed, 2 insertions, 2 deletions
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) } |