mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 23:00:04 -04:00
Fix some clippy issues found by 1.84.0 (#5603)
This commit is contained in:
@@ -21,7 +21,7 @@ pub(crate) enum AppKind<'a, State> {
|
||||
Eframe(AppKindEframe<'a, State>),
|
||||
}
|
||||
|
||||
impl<'a, State> AppKind<'a, State> {
|
||||
impl<State> AppKind<'_, State> {
|
||||
pub fn run(
|
||||
&mut self,
|
||||
ctx: &egui::Context,
|
||||
|
||||
@@ -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,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user