Skip to content

examples: fix useless_borrows_in_formatting clippy warning#146

Merged
nbdd0121 merged 1 commit into
mainfrom
dev/clippy
May 5, 2026
Merged

examples: fix useless_borrows_in_formatting clippy warning#146
nbdd0121 merged 1 commit into
mainfrom
dev/clippy

Conversation

@nbdd0121
Copy link
Copy Markdown
Member

@nbdd0121 nbdd0121 commented May 5, 2026

Clippy 1.97 introduces new useless_borrows_in_formatting warning which fires on the pthread example as we have &*expr where the format macro takes reference already. Remove the extra borrow.

Clippy 1.97 introduces new `useless_borrows_in_formatting` warning which
fires on the examples as we have `&*expr` where the format macro takes
reference already. Remove the extra borrow.

Signed-off-by: Gary Guo <gary@garyguo.net>
@nbdd0121
Copy link
Copy Markdown
Member Author

nbdd0121 commented May 5, 2026

Merging to fix CI

@nbdd0121 nbdd0121 merged commit 9619197 into main May 5, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant