mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Enable more clippy lints (#7474)
This commit is contained in:
@@ -997,7 +997,7 @@ impl ResizeObserverContext {
|
||||
// we rely on the resize observer to trigger the first `request_animation_frame`:
|
||||
if let Err(err) = runner_ref.request_animation_frame() {
|
||||
log::error!("{}", super::string_from_js_value(&err));
|
||||
};
|
||||
}
|
||||
} else {
|
||||
log::warn!("ResizeObserverContext callback: failed to lock runner");
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ impl TextAgent {
|
||||
|
||||
if let Err(err) = self.input.focus() {
|
||||
log::error!("failed to set focus: {}", super::string_from_js_value(&err));
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
pub fn blur(&self) {
|
||||
@@ -191,7 +191,7 @@ impl TextAgent {
|
||||
|
||||
if let Err(err) = self.input.blur() {
|
||||
log::error!("failed to set focus: {}", super::string_from_js_value(&err));
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -274,7 +274,7 @@ impl WebPainter for WebPainterWgpu {
|
||||
&mut encoder,
|
||||
));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Some((output_frame, capture_buffer))
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user