Files
gridcraft/apps
skylartaylor 1178a3594e nightly: drop the redundant control_port rebinding the gate refuses
`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.
2026-11-26 08:40:26 +01:00
..