clippy: fix lint errors

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-08-19 09:45:36 -07:00
parent 9ef72ec7de
commit 3aa4d00053
18 changed files with 25 additions and 24 deletions

View File

@@ -781,7 +781,7 @@ impl<'a> ScaledTexture<'a> {
}
}
pub fn get_image(&self) -> Image {
pub fn get_image(&self) -> Image<'_> {
texture_to_image(self.tex, self.size).fit_to_exact_size(self.scaled_size)
}
}