File tree 2 files changed +4
-4
lines changed
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] {
603
603
604
604
#[ inline]
605
605
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`
607
607
self . index ( ops:: RangeInclusive :: NonEmpty { start : 0 , end : index. end } )
608
608
}
609
609
}
@@ -665,7 +665,7 @@ impl<T> ops::IndexMut<ops::RangeInclusive<usize>> for [T] {
665
665
impl < T > ops:: IndexMut < ops:: RangeToInclusive < usize > > for [ T ] {
666
666
#[ inline]
667
667
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`
669
669
self . index_mut ( ops:: RangeInclusive :: NonEmpty { start : 0 , end : index. end } )
670
670
}
671
671
}
Original file line number Diff line number Diff line change @@ -1488,7 +1488,7 @@ mod traits {
1488
1488
1489
1489
#[ inline]
1490
1490
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`
1492
1492
self . index ( ops:: RangeInclusive :: NonEmpty { start : 0 , end : index. end } )
1493
1493
}
1494
1494
}
@@ -1514,7 +1514,7 @@ mod traits {
1514
1514
impl ops:: IndexMut < ops:: RangeToInclusive < usize > > for str {
1515
1515
#[ inline]
1516
1516
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`
1518
1518
self . index_mut ( ops:: RangeInclusive :: NonEmpty { start : 0 , end : index. end } )
1519
1519
}
1520
1520
}
You can’t perform that action at this time.
0 commit comments