Repository navigation
fix ci: clippy denies in the vacuum filter chain - #14
Conversation
Four formatting hunks CI caught (rustc is broken on the authoring Mac): the traversal assert chain, the jt/jf tuple loop, the jump-count assert, and the two golden-target asserts - exactly the forms rustfmt wants, no semantic change.
The traversal-rejection arm used "...'...'.into()" against an impl Into<String> parameter - the target type cannot be inferred (E0283). Pass the &str directly; &str implements Into<String>.
redundant closure -> pass normalise_components directly; drop the .map(String::from) the iterator no longer needs (filter_map already yields String).
Gate review — reviewer: claudeLanes: reviewed by claude
Pure clippy/rustfmt cleanup. Walking the two semantic changes:
The prefix filter semantics are untouched:
No test changes needed — this diff changes no behavior, and the one place it touches test code ( One note, not a finding: I can't verify from the diff that VERDICT: APPROVED VERDICT: APPROVED |
Third CI follow-up to #11 (rustc broken locally, CI is the compiler here): clippy denies a redundant closure (
|p| normalise_components(p)→ pass the fn) and the now-useless.map(String::from). No semantic change.