Skip to content

fix: resolve clippy warnings in container, git, and init modules#583

Open
bz00qa wants to merge 1 commit intortk-ai:developfrom
bz00qa:fix/clippy-cleanup
Open

fix: resolve clippy warnings in container, git, and init modules#583
bz00qa wants to merge 1 commit intortk-ai:developfrom
bz00qa:fix/clippy-cleanup

Conversation

@bz00qa
Copy link

@bz00qa bz00qa commented Mar 13, 2026

Summary

Test plan

  • cargo clippy --all-targets passes
  • cargo test passes (937 passed, 2 pre-existing failures unrelated to these changes)
  • No behavioral changes — pure clippy cleanup

🤖 Generated with Claude Code

Apply clippy suggestions carved out from feature PRs rtk-ai#551 and rtk-ai#552:
- container.rs: .last() → .next_back() (2 instances)
- git.rs: .map_or(false, ...) → .is_some_and(...) (2 instances)
- git.rs: .last() → .next_back() (1 instance)
- init.rs: unnecessary format!() → .to_string() (1 instance)
- init.rs: unnecessary & on &str parameters (2 instances)

Signed-off-by: bZ00qa <167500396+bz00qa@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant