From 1e90b2c514471c5516de60a638176cf139223867 Mon Sep 17 00:00:00 2001 From: Zynh0722 Date: Sat, 17 Feb 2024 02:27:32 -0800 Subject: [PATCH] comments 2: electric boogaloo --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 78575de..d227ecc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -97,6 +97,8 @@ fn event(app: &App, model: &mut Model, event: WindowEvent) { } if let Resized(_) = event { + // Rust borrowing rules means I need to first gather a list of handles, + // then delete them all let handles: Vec = model .engine .state