Files
codewhale/crates
Claude a7d482067b fix(clippy): clear -D warnings across changed code (#2599)
Resolves the workspace clippy warnings so the release gate
(`cargo clippy --workspace --all-targets -- -D warnings`) is clean:

- chat.rs: elide needless lifetime on `next_arcee_waf_trigger` (returned
  strs are `'static`).
- llm_client/mod.rs: use `enumerate()` instead of a manual loop counter in
  `truncate_for_error` (explicit_counter_loop).
- ui.rs: `#[allow(clippy::too_many_arguments)]` on `apply_model_picker_choice`
  with rationale (8 distinct handles/states; a struct would only obscure it).
- file_picker.rs: gate the test-only `WALK_DEPTH` const and `new_with_relevance`
  convenience ctor behind `#[cfg(test)]` (the #2488 change moved production
  callers to `new_with_relevance_and_depth`).

The 6 schema_migration registry structs the issue noted are no longer flagged
(their trait impls keep them live). Also normalizes rustfmt formatting on the
touched lines.

https://claude.ai/code/session_01MQrnh6wHfrEYN5BBdMarC1
2026-06-03 01:24:14 +00:00
..