-
Notifications
You must be signed in to change notification settings - Fork 612
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
client_conn: style tweaks for member/impl ordering #1736
Conversation
The `ClientConfig` parts should appear before the types it references. The `Tls12Resumption` enum should appear after the `Resumption` type that uses it.
The inherit `ClientConfig` impl should appear first, and then the `Clone` impl.
`pub` fields should appear first, then `pub(super)` ones.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1736 +/- ##
=======================================
Coverage 96.16% 96.16%
=======================================
Files 80 80
Lines 17337 17337
=======================================
Hits 16672 16672
Misses 665 665 ☔ View full report in Codecov by Sentry. |
Benchmark resultsInstruction countsSignificant differencesClick to expand
Other differencesClick to expand
Wall-timeSignificant differencesClick to expand
Other differencesClick to expand
Additional informationCheckout details:
|
Going to merge this one w/ one review since it's just shuffling around existing code without any meaningful changes. |
In #1718 we'll be adding new fields to
ClientConfig
, and new methods to theimpl ClientConfig
block. Before doing that let's tidy up the existing code to match the style guide advice on ordering.