-
Notifications
You must be signed in to change notification settings - Fork 411
Remove low-hanging fruit rustfmt::skip
s in Channel
#3854
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
base: main
Are you sure you want to change the base?
Remove low-hanging fruit rustfmt::skip
s in Channel
#3854
Conversation
👋 Thanks for assigning @joostjager as a reviewer! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3854 +/- ##
==========================================
- Coverage 89.94% 89.91% -0.03%
==========================================
Files 163 163
Lines 131655 131753 +98
Branches 131655 131753 +98
==========================================
+ Hits 118421 118472 +51
- Misses 10550 10590 +40
- Partials 2684 2691 +7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after rebase
The merge-base changed after approval.
👋 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. |
rustfmt::skips were added recently all over channel.rs in order for formatting to be enforced for all new code added to the file. Here we remove a bunch of those skips that aren't necessary because the methods that are skipped are so short. Does not include cfg(splicing) code. Here we just remove the rustfmt skips, in the next commit we'll clean up the code that rustfmt made too vertical.
In the previous commit we formatted a bunch of short methods. Here we clean up the default formatting that rustfmt applied by extracting code into variables.
1b96fd1
to
c356070
Compare
Rebased |
Based on #3809, in the same spirit as #3844 and #3850