From cc8bafddffe6b670e4252d37904870e79523bdbe Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sat, 19 Jul 2025 11:29:06 -0700 Subject: [PATCH] notebook: remove redundant closure Signed-off-by: William Casarin --- crates/notedeck_notebook/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/notedeck_notebook/src/lib.rs b/crates/notedeck_notebook/src/lib.rs index b95701af..3cf78eaa 100644 --- a/crates/notedeck_notebook/src/lib.rs +++ b/crates/notedeck_notebook/src/lib.rs @@ -225,7 +225,7 @@ fn node_box_ui( .show(ui, |ui| { let rect = ui.available_rect_before_wrap(); ui.allocate_at_least(ui.available_size(), egui::Sense::click()); - ui.put(rect, |ui: &mut egui::Ui| contents(ui)); + ui.put(rect, contents); }) .response })