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 {
441
441
unchecked bounds: ClosedRange < Int >
442
442
) -> Self {
443
443
let range = Range (
444
- _uncheckedBounds: ( bounds. lowerBound, bounds. upperBound&+ 1 )
444
+ _uncheckedBounds: ( bounds. lowerBound, bounds. upperBound + 1 )
445
445
)
446
446
return unsafe _extracting( unchecked: range)
447
447
}
Original file line number Diff line number Diff line change @@ -591,7 +591,7 @@ extension Span where Element: ~Copyable {
591
591
unchecked bounds: ClosedRange < Index >
592
592
) -> Self {
593
593
let range = Range (
594
- _uncheckedBounds: ( bounds. lowerBound, bounds. upperBound&+ 1 )
594
+ _uncheckedBounds: ( bounds. lowerBound, bounds. upperBound + 1 )
595
595
)
596
596
return unsafe _extracting( unchecked: range)
597
597
}
You can’t perform that action at this time.
0 commit comments