Skip to content

Commit 03c3a37

Browse files
committed
clippy
1 parent 0ec28a7 commit 03c3a37

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
@@ -233,10 +233,8 @@ impl App {
233233
self.name = n;
234234
};
235235
self.plot.update();
236-
if b {
237-
if let Some(w) = &self.plot.renderer {
238-
self.set_title(&w.window);
239-
}
236+
if b && let Some(w) = &self.plot.renderer {
237+
self.set_title(&w.window);
240238
}
241239
}
242240
#[cfg(any(feature = "skia", feature = "tiny-skia"))]

0 commit comments

Comments
 (0)