-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Refactor windows sockets impl methods #85792
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
I'm not an expert on the Windows sockets API. @rustbot ping windows |
Hey Windows Group! This bug has been identified as a good "Windows candidate". cc @arlosi @danielframpton @gdr-at-ms @kennykerr @luqmana @lzybkr @nico-abram @retep998 @rylev @sivadeilra @wesleywiser |
Indeed this shouldn't have any semantic changes and I agree there're some improvements e.g. using |
@JohnTitor The renamed variables were a suggestions to use full names instead of abbreviations, but I agree they may not be improvements. The shuffling of match arms had multilple motivations: a) avoid calling |
That makes sense, thanks for clarifying! Then I think it's good to go. |
@bors r+ rollup |
📌 Commit 78d3d37 has been approved by |
…=JohnTitor Refactor windows sockets impl methods No behavioural changes, but a bit tidier visual flow.
Rollup of 10 pull requests Successful merges: - rust-lang#80269 (Explain non-dropped sender recv in docs) - rust-lang#82179 (Add functions `Duration::try_from_secs_{f32, f64}`) - rust-lang#85608 (Stabilize `ops::ControlFlow` (just the type)) - rust-lang#85792 (Refactor windows sockets impl methods) - rust-lang#86220 (Improve maybe_uninit_extra docs) - rust-lang#86277 (Remove must_use from ALLOWED_ATTRIBUTES) - rust-lang#86285 (:arrow_up: rust-analyzer) - rust-lang#86294 (Stabilize {std, core}::prelude::rust_*.) - rust-lang#86306 (Add mailmap entries for myself) - rust-lang#86314 (Remove trailing triple backticks in `mut_keyword` docs) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
No behavioural changes, but a bit tidier visual flow.