Skip to content
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

rustfmt: Run on util/* (2/2) #3323

Open
wants to merge 42 commits into
base: main
Choose a base branch
from

Conversation

tnull
Copy link
Contributor

@tnull tnull commented Sep 18, 2024

This is PR 2/2, based on #3324.

The diff is a bit larger for this one, but AFAICT the changes look mostly reasonable (besides the oddity commented below).

FWIW, I had a look at currently open inflight PRs and the conflicts should be minimal if I'm not overlooking something.

Copy link

codecov bot commented Sep 18, 2024

Codecov Report

Attention: Patch coverage is 83.70787% with 232 lines in your changes missing coverage. Please review.

Project coverage is 89.60%. Comparing base (66fb520) to head (e2dcdc7).

Files with missing lines Patch % Lines
lightning/src/util/test_channel_signer.rs 48.17% 8 Missing and 77 partials ⚠️
lightning/src/util/test_utils.rs 83.59% 71 Missing and 2 partials ⚠️
lightning/src/util/persist.rs 89.41% 17 Missing and 3 partials ⚠️
lightning/src/util/ser.rs 73.84% 17 Missing ⚠️
lightning/src/util/ser_macros.rs 91.59% 9 Missing and 1 partial ⚠️
lightning/src/util/wakers.rs 93.00% 5 Missing and 2 partials ⚠️
lightning/src/util/transaction_utils.rs 95.71% 3 Missing and 3 partials ⚠️
lightning/src/util/macro_logger.rs 87.87% 0 Missing and 4 partials ⚠️
lightning/src/util/message_signing.rs 50.00% 4 Missing ⚠️
lightning/src/util/errors.rs 72.72% 3 Missing ⚠️
... and 1 more
Additional details and impacted files
@@           Coverage Diff            @@
##             main    #3323    +/-   ##
========================================
  Coverage   89.59%   89.60%            
========================================
  Files         126      126            
  Lines      102676   103419   +743     
  Branches   102676   103419   +743     
========================================
+ Hits        91995    92668   +673     
- Misses       7947     7984    +37     
- Partials     2734     2767    +33     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tnull tnull force-pushed the 2024-09-rustfmt-util branch 2 times, most recently from 6c4dd83 to 9b991df Compare September 18, 2024 08:42
@TheBlueMatt
Copy link
Collaborator

Ugh, can we split this? 42 commits in one PR is just a lot...

@tnull
Copy link
Contributor Author

tnull commented Sep 18, 2024

Ugh, can we split this? 42 commits in one PR is just a lot...

Alright, happy to if you prefer (although at least half of these commits are one-line diffs). Now split out ~the first half of commits to #3324.

@tnull tnull changed the title rustfmt: Run on util/* rustfmt: Run on util/* (2/2) Sep 18, 2024
@tnull
Copy link
Contributor Author

tnull commented Sep 19, 2024

Rebased after #3327 landed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants