Apply automatic clippy fixes in CLI#5427
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughWidespread idiomatic Rust cleanup across ChangesIdiomatic Rust cleanup and re-export narrowing
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
clippy --fix dropped two re-exports whose only consumers live in #[cfg(test)] modules, breaking `cargo test -p perry`: - `compile::link::WINDOWS_APP_MANIFEST` (used by windows_link_tests) - `publish::IosSavedConfig` (used by publish::tests) Both are restored gated with #[cfg(test)] so the non-test build stays clean (no reintroduced clippy unused-import error) while the test build resolves the symbols again. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Summary
cargo clippy --fixsuggestions in the Perry CLI crate.Validation
cargo fmt --all -- --checkcargo check -p perryRemaining warning output is pre-existing warning debt not covered by automatic fixes in this branch.
Summary by CodeRabbit
Release Notes
Note: Changes are internal maintenance with no expected end-user impact.