File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -441,7 +441,7 @@ extension RawSpan {
441441 unchecked bounds: ClosedRange < Int >
442442 ) -> Self {
443443 let range = Range (
444- _uncheckedBounds: ( bounds. lowerBound, bounds. upperBound&+ 1 )
444+ _uncheckedBounds: ( bounds. lowerBound, bounds. upperBound + 1 )
445445 )
446446 return unsafe _extracting( unchecked: range)
447447 }
Original file line number Diff line number Diff line change @@ -591,7 +591,7 @@ extension Span where Element: ~Copyable {
591591 unchecked bounds: ClosedRange < Index >
592592 ) -> Self {
593593 let range = Range (
594- _uncheckedBounds: ( bounds. lowerBound, bounds. upperBound&+ 1 )
594+ _uncheckedBounds: ( bounds. lowerBound, bounds. upperBound + 1 )
595595 )
596596 return unsafe _extracting( unchecked: range)
597597 }
You can’t perform that action at this time.
0 commit comments