File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ public struct ClosedRange<Bound: Comparable> {
7070
7171 // This works around _debugPrecondition() impacting the performance of
7272 // optimized code. (rdar://72246338)
73+ @unsafe
7374 @_alwaysEmitIntoClient @inline ( __always)
7475 internal init ( _uncheckedBounds bounds: ( lower: Bound , upper: Bound ) ) {
7576 self . lowerBound = bounds. lower
Original file line number Diff line number Diff line change @@ -159,6 +159,7 @@ public struct Range<Bound: Comparable> {
159159
160160 // This works around _debugPrecondition() impacting the performance of
161161 // optimized code. (rdar://72246338)
162+ @unsafe
162163 @_alwaysEmitIntoClient @inline ( __always)
163164 internal init ( _uncheckedBounds bounds: ( lower: Bound , upper: Bound ) ) {
164165 self . lowerBound = bounds. lower
You can’t perform that action at this time.
0 commit comments