summaryrefslogtreecommitdiff
path: root/pixel-client/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-11-24 17:18:01 +0100
committermetamuffin <metamuffin@disroot.org>2024-11-24 17:18:11 +0100
commit696dbdd2238e919bffa756fff1f02ace90a81ecb (patch)
tree305e03ce4fea3c3ee151c7560414b0e2625264ba /pixel-client/src
parent95d14ada0c98fb8f2285fd0003000b5a517f9267 (diff)
downloadhurrycurry-696dbdd2238e919bffa756fff1f02ace90a81ecb.tar
hurrycurry-696dbdd2238e919bffa756fff1f02ace90a81ecb.tar.bz2
hurrycurry-696dbdd2238e919bffa756fff1f02ace90a81ecb.tar.zst
Manual clippy
Diffstat (limited to 'pixel-client/src')
-rw-r--r--pixel-client/src/render/font.rs2
-rw-r--r--pixel-client/src/ui.rs2
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)
}