1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 06:40:06 -04:00

Fix some minor clippy lints from the future

This commit is contained in:
Emil Ernerfeldt
2024-09-18 09:44:23 +02:00
parent 1474c17b0d
commit 4dd89e2052
10 changed files with 12 additions and 11 deletions

View File

@@ -52,7 +52,7 @@ impl FrameHistory {
}
}
fn graph(&mut self, ui: &mut egui::Ui) -> egui::Response {
fn graph(&self, ui: &mut egui::Ui) -> egui::Response {
use egui::{emath, epaint, pos2, vec2, Pos2, Rect, Sense, Shape, Stroke, TextStyle};
ui.label("egui CPU usage history");