Commit 102bbbd
authored
Rollup merge of rust-lang#97506 - JohnTitor:stabilize-nonnull-slice-from-raw-parts, r=m-ou-se,the8472
Stabilize `nonnull_slice_from_raw_parts`
FCP is done: rust-lang#71941 (comment)
Note that this doesn't const-stabilize `NonNull::slice_from_raw_parts` as `slice_from_raw_parts_mut` isn't const-stabilized yet. Given rust-lang#67456 and rust-lang#57349, it's not likely available soon, meanwhile, stabilizing only the feature makes some sense, I think.
Closes rust-lang#71941File tree
4 files changed
+6
-12
lines changed- library
- alloc
- src
- tests
- core/src/ptr
- std/src
4 files changed
+6
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
466 | | - | |
467 | 465 | | |
468 | 466 | | |
469 | 467 | | |
| |||
475 | 473 | | |
476 | 474 | | |
477 | 475 | | |
478 | | - | |
479 | | - | |
| 476 | + | |
| 477 | + | |
480 | 478 | | |
481 | 479 | | |
482 | 480 | | |
| |||
494 | 492 | | |
495 | 493 | | |
496 | 494 | | |
497 | | - | |
498 | 495 | | |
499 | 496 | | |
500 | 497 | | |
| |||
514 | 511 | | |
515 | 512 | | |
516 | 513 | | |
517 | | - | |
| 514 | + | |
518 | 515 | | |
519 | 516 | | |
520 | 517 | | |
| |||
534 | 531 | | |
535 | 532 | | |
536 | 533 | | |
537 | | - | |
| 534 | + | |
538 | 535 | | |
539 | 536 | | |
540 | 537 | | |
| |||
668 | 665 | | |
669 | 666 | | |
670 | 667 | | |
671 | | - | |
| 668 | + | |
672 | 669 | | |
673 | 670 | | |
674 | 671 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
296 | 295 | | |
297 | 296 | | |
298 | 297 | | |
| |||
0 commit comments