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> {
70
70
71
71
// This works around _debugPrecondition() impacting the performance of
72
72
// optimized code. (rdar://72246338)
73
+ @unsafe
73
74
@_alwaysEmitIntoClient @inline ( __always)
74
75
internal init ( _uncheckedBounds bounds: ( lower: Bound , upper: Bound ) ) {
75
76
self . lowerBound = bounds. lower
Original file line number Diff line number Diff line change @@ -159,6 +159,7 @@ public struct Range<Bound: Comparable> {
159
159
160
160
// This works around _debugPrecondition() impacting the performance of
161
161
// optimized code. (rdar://72246338)
162
+ @unsafe
162
163
@_alwaysEmitIntoClient @inline ( __always)
163
164
internal init ( _uncheckedBounds bounds: ( lower: Bound , upper: Bound ) ) {
164
165
self . lowerBound = bounds. lower
You can’t perform that action at this time.
0 commit comments