Skip to content

fix: unnecessary trailing commas in format! macros#49

Open
wmmc88 wants to merge 1 commit intomicrosoft:mainfrom
wmmc88:fix/unnecessary-trailing-commas
Open

fix: unnecessary trailing commas in format! macros#49
wmmc88 wants to merge 1 commit intomicrosoft:mainfrom
wmmc88:fix/unnecessary-trailing-commas

Conversation

@wmmc88
Copy link
Collaborator

@wmmc88 wmmc88 commented Feb 28, 2026

Edits to pass new nightly clippy::unnecessary_trailing_comma lint

Failed CI run: https://github.com/microsoft/Windows-rust-driver-samples/actions/runs/22519532366

Same lint that was recently fixed in microsoft/windows-drivers-rs#619.

- Remove unnecessary trailing commas in format!/println! macros to pass
  new nightly clippy::unnecessary_trailing_comma lint
- Reorder underscore-prefixed imports to match nightly rustfmt sorting
@wmmc88 wmmc88 force-pushed the fix/unnecessary-trailing-commas branch from 1f202f0 to de907c7 Compare February 28, 2026 17:57
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