Skip to content

Fix new CI failures #3898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 30, 2025
Merged

Fix new CI failures #3898

merged 2 commits into from
Jun 30, 2025

Conversation

TheBlueMatt
Copy link
Collaborator

No description provided.

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Jun 28, 2025

👋 Thanks for assigning @tnull as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@ldk-reviews-bot ldk-reviews-bot requested a review from tankyleo June 28, 2025 19:56
`clippy` recently added a new lint that encourages the use of
variables directly in format strings rather than as positional
arguments. While its not the most critical thing, its right, but
fixing it everywhere is a few hundred changes and not entirely
worth it right now.

Instead, we simply allow the new default lint and hope to get to it
at some point.
This lint fires when we do a swap with a value stored in a mutex,
as it sees the `&mut x.lock().unwrap()` as a temporary which can be
taken from, even though it is in fact not.

See rust-lang/rust-clippy#15166
@tnull tnull requested review from tnull and removed request for tankyleo June 30, 2025 07:57
Copy link
Contributor

@tnull tnull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK, merging as trivial.

@ldk-reviews-bot
Copy link

👋 The first review has been submitted!

Do you think this PR is ready for a second reviewer? If so, click here to assign a second reviewer.

@tnull tnull merged commit 6771d84 into lightningdevkit:main Jun 30, 2025
28 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.

3 participants