Skip to content

fix: drop redundant borrows in println arguments#87

Merged
N4M3Z merged 1 commit into
mainfrom
fix-println-borrows
Jul 13, 2026
Merged

fix: drop redundant borrows in println arguments#87
N4M3Z merged 1 commit into
mainfrom
fix-println-borrows

Conversation

@N4M3Z

@N4M3Z N4M3Z commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Problem

Every PR's lint job fails since CI moved to rustc 1.97.0: clippy denies redundant reference in println! argument at five call sites in src/cli/drift/mod.rs and src/cli/provenance/mod.rs, plus the pre-existing match-instead-of-? at src/yaml/mod.rs:169, all on main. Merge-preview builds exit with code 101 regardless of branch content.

Fix

Drop the redundant & at the five flagged arguments and replace the yaml path-lookup match with ?.

Test plan

  • cargo fmt --check
  • cargo clippy --all-features --all-targets -- -D warnings
  • cargo test --all-features (638 passed)

🤖 Generated with Claude Code

@N4M3Z
N4M3Z force-pushed the fix-println-borrows branch from e3a4fe9 to 3e8a2c9 Compare July 13, 2026 01:39
@N4M3Z
N4M3Z merged commit 6965ca4 into main Jul 13, 2026
4 checks passed
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