1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Fix some clippy issues found by 1.84.0 (#5603)

This commit is contained in:
Emil Ernerfeldt
2025-01-13 08:29:13 +01:00
committed by GitHub
parent 1339639706
commit 164f56f554
33 changed files with 65 additions and 81 deletions

View File

@@ -68,7 +68,7 @@ pub struct Harness<'a, State = ()> {
step_dt: f32,
}
impl<'a, State> Debug for Harness<'a, State> {
impl<State> Debug for Harness<'_, State> {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
self.kittest.fmt(f)
}
@@ -461,7 +461,7 @@ impl<'a> Harness<'a> {
}
}
impl<'t, 'n, 'h, State> Queryable<'t, 'n> for Harness<'h, State>
impl<'t, 'n, State> Queryable<'t, 'n> for Harness<'_, State>
where
'n: 't,
{