From d3c923d1e9c2675a65e2b25ab718a5838bf6c5f9 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Fri, 3 Jan 2025 14:48:42 +0100 Subject: [PATCH] Fix clippy lint --- crates/egui/src/containers/window.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/egui/src/containers/window.rs b/crates/egui/src/containers/window.rs index 52f61b8244c..c9cd1a3e3fd 100644 --- a/crates/egui/src/containers/window.rs +++ b/crates/egui/src/containers/window.rs @@ -553,7 +553,7 @@ impl<'open> Window<'open> { let title_bar = if with_title_bar { let title_bar = TitleBar::new( - &mut frame.content_ui, + &frame.content_ui, title, show_close_button, collapsible, @@ -1138,7 +1138,7 @@ struct TitleBar { impl TitleBar { fn new( - ui: &mut Ui, + ui: &Ui, title: WidgetText, show_close_button: bool, collapsible: bool,