This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 8c331ee
authored
Rollup merge of rust-lang#74686 - ssomers:btree_cleanup_3, r=Mark-Simulacrum
BTreeMap: remove into_slices and its unsafe block
A small tweak to make BTreeMap code shorter and less unsafe.
r? @Mark-Simulacrum1 file changed
+3
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | 469 | | |
476 | 470 | | |
477 | 471 | | |
| |||
980 | 974 | | |
981 | 975 | | |
982 | 976 | | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | | - | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
987 | 980 | | |
988 | 981 | | |
989 | 982 | | |
| |||
0 commit comments