This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 1cdcf50
authored
Rollup merge of rust-lang#100663 - clarfonthey:const-reverse, r=scottmcm
Make slice::reverse const
I remember this not being doable for some reason before, but decided to try it again and everything worked out in the tests.1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
| 677 | + | |
677 | 678 | | |
678 | | - | |
| 679 | + | |
679 | 680 | | |
680 | 681 | | |
681 | 682 | | |
| |||
698 | 699 | | |
699 | 700 | | |
700 | 701 | | |
701 | | - | |
702 | | - | |
703 | | - | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
704 | 705 | | |
705 | 706 | | |
706 | 707 | | |
707 | 708 | | |
708 | 709 | | |
709 | 710 | | |
710 | 711 | | |
711 | | - | |
| 712 | + | |
| 713 | + | |
712 | 714 | | |
| 715 | + | |
713 | 716 | | |
714 | 717 | | |
715 | 718 | | |
| |||
0 commit comments