File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -603,7 +603,7 @@ impl<T> ops::Index<ops::RangeToInclusive<usize>> for [T] {
603603
604604 #[ inline]
605605 fn index ( & self , index : ops:: RangeToInclusive < usize > ) -> & [ T ] {
606- // SNAP 3391630 change this to `0...index.end`
606+ // SNAP 4d3eebf change this to `0...index.end`
607607 self . index ( ops:: RangeInclusive :: NonEmpty { start : 0 , end : index. end } )
608608 }
609609}
@@ -665,7 +665,7 @@ impl<T> ops::IndexMut<ops::RangeInclusive<usize>> for [T] {
665665impl < T > ops:: IndexMut < ops:: RangeToInclusive < usize > > for [ T ] {
666666 #[ inline]
667667 fn index_mut ( & mut self , index : ops:: RangeToInclusive < usize > ) -> & mut [ T ] {
668- // SNAP 3391630 change this to `0...index.end`
668+ // SNAP 4d3eebf change this to `0...index.end`
669669 self . index_mut ( ops:: RangeInclusive :: NonEmpty { start : 0 , end : index. end } )
670670 }
671671}
Original file line number Diff line number Diff line change @@ -1488,7 +1488,7 @@ mod traits {
14881488
14891489 #[ inline]
14901490 fn index ( & self , index : ops:: RangeToInclusive < usize > ) -> & str {
1491- // SNAP 3391630 change this to `0...index.end`
1491+ // SNAP 4d3eebf change this to `0...index.end`
14921492 self . index ( ops:: RangeInclusive :: NonEmpty { start : 0 , end : index. end } )
14931493 }
14941494 }
@@ -1514,7 +1514,7 @@ mod traits {
15141514 impl ops:: IndexMut < ops:: RangeToInclusive < usize > > for str {
15151515 #[ inline]
15161516 fn index_mut ( & mut self , index : ops:: RangeToInclusive < usize > ) -> & mut str {
1517- // SNAP 3391630 change this to `0...index.end`
1517+ // SNAP 4d3eebf change this to `0...index.end`
15181518 self . index_mut ( ops:: RangeInclusive :: NonEmpty { start : 0 , end : index. end } )
15191519 }
15201520 }
You can’t perform that action at this time.
0 commit comments