Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Jan 3, 2025
1 parent e038d15 commit d3c923d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/egui/src/containers/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -1138,7 +1138,7 @@ struct TitleBar {

impl TitleBar {
fn new(
ui: &mut Ui,
ui: &Ui,
title: WidgetText,
show_close_button: bool,
collapsible: bool,
Expand Down

0 comments on commit d3c923d

Please sign in to comment.