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

Fix some lints found by clippy 1.73

This commit is contained in:
Emil Ernerfeldt
2023-10-06 09:01:31 +02:00
parent 12b6f2c3a0
commit 2bc2fb9c39
11 changed files with 21 additions and 26 deletions

View File

@@ -62,7 +62,7 @@ pub struct BackendPanel {
}
impl BackendPanel {
pub fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) {
pub fn update(&mut self, ctx: &egui::Context, frame: &eframe::Frame) {
self.frame_history
.on_new_frame(ctx.input(|i| i.time), frame.info().cpu_usage);