base red: acpmux clippy redundant_closure in process_values

LA
5d ago
+1-1

Summary

Base red fix (priority zero). clippy -D warnings refuses .map(|path| length(path)) at cmux-tui/crates/acpmux/src/hub/processes.rs:256 (clippy::redundant_closure, from 704abda602b). That fails clippy (changed cmux-tui packages) on every PR that touches a crate that depends on acpmux. Other branches hit it too (QUIT P0's holder2 proof 6298c55e). This passes the function by reference: .map(&length). The behavior does not change.

Command: scripts/ci/cmux-tui-rust-check.sh clippy on the fleet.

Observed / Not run

  • Observed: the four fleet clippy jobs above (logs read: each red has only this one error; each green has none).
  • Observed: the diff is one line; length is impl Fn(&str) -> u64, and &length is Fn(&str) -> u64, so Option<&str>::map(&length) gives the same Option<u64>.
  • Not run: the full test suite (no behavior change).

Changelog

none