Skip to content

fix: resolve all clippy warnings#3

Open
alexsavio wants to merge 1 commit into
pyrex41:masterfrom
alexsavio:fix/clippy-warnings
Open

fix: resolve all clippy warnings#3
alexsavio wants to merge 1 commit into
pyrex41:masterfrom
alexsavio:fix/clippy-warnings

Conversation

@alexsavio
Copy link
Copy Markdown

Resolve all clippy warnings so cargo clippy --all-targets -- -D warnings exits clean. Pure mechanical fixes — no behavioral changes, all 98 tests pass.

- Replace `&PathBuf` with `&Path` in function signatures across all modules
- Use `strip_prefix` instead of manual `starts_with` + slice indexing
- Add `#[allow(dead_code)]` on intentionally unused fields in manifest.rs
- Fix `Option<&PathBuf>` → `Option<&Path>` conversion with `as_deref()`
- Clean up unnecessary `to_path_buf()` calls in test code
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