Skip to content

fix: use standard parentheses in format_args! invocations - #61

Merged
graelo merged 2 commits into
mainfrom
fix/clippy-nonstandard-macro-braces
Oct 2, 2026
Merged

graelo merged 2 commits into
mainfrom
fix/clippy-nonstandard-macro-braces

Conversation

@graelo

@graelo graelo commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Stable clippy 1.99 promotes nonstandard_macro_braces to deny-by-default under -D warnings, which breaks CI for the three format_args! { ... } calls in the format_value! macro arms in src/format.rs. This switches them to the standard parenthesized form. Purely syntactic — the expansion and formatted output are unchanged.

  • cargo clippy --all-targets --all-features -- -D warnings clean
  • cargo nextest run — 30/30 passed
  • cargo test --doc — 24/24 passed

graelo added 2 commits October 3, 2026 01:09
Clippy 1.99 promotes the nonstandard_macro_braces lint, rejecting the
brace-style format_args! { ... } calls in the format_value! macro arms.
Switch to the parenthesized form; expansion and output are unchanged.
@graelo
graelo merged commit 750c512 into main Oct 2, 2026
4 checks passed
@graelo
graelo deleted the fix/clippy-nonstandard-macro-braces branch October 2, 2026 23:13
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