`rustfmt`: Run on the `routing` directory (3/3)
Based on #3337.
This is PR 3/3, formatting the rest of routing.
Codecov Report
Attention: Patch coverage is 95.94203% with 42 lines in your changes missing coverage. Please review.
Project coverage is 89.85%. Comparing base (
a0d0f02) to head (8a8e6fa). Report is 1335 commits behind head on main.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| lightning/src/routing/utxo.rs | 92.12% | 34 Missing and 5 partials :warning: |
| lightning/src/routing/test_utils.rs | 99.44% | 3 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #3338 +/- ##
==========================================
+ Coverage 89.65% 89.85% +0.19%
==========================================
Files 126 126
Lines 102750 106502 +3752
Branches 102750 106502 +3752
==========================================
+ Hits 92123 95695 +3572
- Misses 7904 8115 +211
+ Partials 2723 2692 -31
| Flag | Coverage Δ | |
|---|---|---|
89.85% <95.94%> (+0.19%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
This command may be a good way to decide on the timing for this PR. Look for all open prs that touch a file:
~/repo/rust-lightning (merge-scores ✔) gh pr list -L 1000 --json url,files | jq 'map(select(.files | map(.path | contains("scoring.rs")) | any)) | map(.url)'
[
"https://github.com/lightningdevkit/rust-lightning/pull/3562",
"https://github.com/lightningdevkit/rust-lightning/pull/3422",
"https://github.com/lightningdevkit/rust-lightning/pull/3386",
"https://github.com/lightningdevkit/rust-lightning/pull/3338",
"https://github.com/lightningdevkit/rust-lightning/pull/2927",
"https://github.com/lightningdevkit/rust-lightning/pull/2793"
]
Most seems to be draft or small prs, so maybe not a bad time?
This is just scoring.rs though, but can adapt query.
Closing in favor of doing fn-level rustfmt::skip first.