git.lucas.co / cce-designer
graphic design tool
git clone https://git.lucas.co/cce-designer.git

commit6cdfaef31d981612e43b63ba74f10aef5e5d25c3
parent3e7808f80a
authorLucas Galante <lsgalante12@gmail.com>
date2026-09-25 11:36
fix: drop an unneeded mut on the plate corner menu's separator closure

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

 src/plate_corner.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plate_corner.rs b/src/plate_corner.rs
index a2e7143..69535dc 100644
--- a/src/plate_corner.rs
+++ b/src/plate_corner.rs
@@ -161,7 +161,7 @@ impl State {
         // convention): window actions | layout spans | tab switching | tab
         // management. Pushed lazily so a group that contributes nothing
         // leaves no orphaned line.
-        let mut separate = |options: &mut Vec<String>, actions: &mut Vec<PlateMenuAction>| {
+        let separate = |options: &mut Vec<String>, actions: &mut Vec<PlateMenuAction>| {
             if !options.is_empty() && options.last().map(String::as_str) != Some("-") {
                 options.push("-".to_string());
                 actions.push(PlateMenuAction::Separator);