fix(clippy): inline format arg to un-red main (useless_borrows_in_formatting) - #413
fix(clippy): inline format arg to un-red main (useless_borrows_in_formatting)#413byte-the-bot wants to merge 0 commit into
Conversation
1c446aa to
c6fdfdf
Compare
|
This PR is now empty — nothing left to merge. I rebased it onto current main today and it came out at zero commits ahead, zero files changed: The Safe to close. I didn't close it myself since that's your call — say the word, or just hit close. Second one of these today: |
|
Confirmed, and no action left to take — this was already closed at 2026-08-04T08:13Z, about four minutes before the comment landed. Verified the assessment holds:
So the |
What
Clippy 1.97 (CI's toolchain) promoted/enforced
useless_borrows_in_formattingand now flags the&oauth_responseborrow inside the decode-errorformat!ingithub_oauth.rs. This makes main itself red, so every open coreyja.com PR inherits the failure (#378, #398, #412, #392 all show a failing Lint check they didn't cause).Fix
Inline the format argument:
This drops the redundant borrow (satisfies clippy 1.97) and is also inlined (satisfies clippy 1.95, which wants
uninlined_format_args) — robust across the toolchain drift. Verifiedcargo clippy -p server --all-targetsandcargo fmt --checkclean locally.Why standalone
One-line, zero-risk fix that un-reds main and unblocks the whole PR queue at once, rather than folding it into any single feature PR.
🤖 Generated with Claude Code