Skip to content

Commit dbc797e

Browse files
committed
fix clippy
1 parent 9390b8b commit dbc797e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/app.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,8 @@ impl App {
263263
}
264264
buffer.present().unwrap();
265265
}
266-
if b {
267-
if let Some(w) = &self.surface_state {
268-
self.set_title(w.window());
269-
}
266+
if b && let Some(w) = &self.surface_state {
267+
self.set_title(w.window());
270268
}
271269
}
272270
#[cfg(any(feature = "skia", feature = "tiny-skia"))]

0 commit comments

Comments
 (0)