Commit c389e2e
authored
Rollup merge of rust-lang#147190 - joboet:sys-net-cleanup, r=hkBst,tgross35
std: `sys::net` cleanups
This PR contains three improvements to the socket-based networking implementation (aa1263e is just to add the now missing `unsafe`). Best reviewed commit-by-commit.File tree
10 files changed
+251
-220
lines changed- library/std/src
- os/unix/net
- sys
- net/connection/socket
- pal/windows
10 files changed
+251
-220
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 40 | + | |
49 | 41 | | |
50 | 42 | | |
51 | 43 | | |
| |||
242 | 234 | | |
243 | 235 | | |
244 | 236 | | |
245 | | - | |
| 237 | + | |
246 | 238 | | |
247 | 239 | | |
248 | 240 | | |
249 | | - | |
| 241 | + | |
250 | 242 | | |
251 | 243 | | |
252 | 244 | | |
| |||
272 | 264 | | |
273 | 265 | | |
274 | 266 | | |
275 | | - | |
| 267 | + | |
276 | 268 | | |
277 | 269 | | |
278 | 270 | | |
279 | | - | |
| 271 | + | |
280 | 272 | | |
281 | 273 | | |
282 | 274 | | |
283 | 275 | | |
284 | 276 | | |
285 | 277 | | |
286 | | - | |
| 278 | + | |
287 | 279 | | |
288 | 280 | | |
289 | 281 | | |
290 | | - | |
| 282 | + | |
291 | 283 | | |
292 | 284 | | |
293 | 285 | | |
| |||
304 | 296 | | |
305 | 297 | | |
306 | 298 | | |
307 | | - | |
| 299 | + | |
308 | 300 | | |
309 | 301 | | |
310 | 302 | | |
| |||
0 commit comments