mirror of
https://github.com/storytold/gridcraft.git
synced 2026-12-01 18:26:05 -06:00
`main` froze the mutable control-port binding with `let control_port = control_port;` after the argument scan. The scan now lives in `desktop_args` and the value is bound immutably from the environment and destructured from `DesktopArgs`, so that line rebinds an immutable binding to itself - `clippy::redundant_locals`, which the gate's `-D warnings` turns into an error: error: redundant redefinition of a binding `control_port` --> apps/gridcraft/src/main.rs Removing it changes nothing else: the value used further down is the one from the destructure.