File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ extension Optional where Wrapped: ~Copyable {
212
212
}
213
213
}
214
214
215
- #if $ BorrowingSwitch
215
+ #if hasFeature( BorrowingSwitch)
216
216
@_alwaysEmitIntoClient
217
217
public borrowing func borrowingMap< U: ~ Copyable, E: Error > (
218
218
_ transform: ( borrowing Wrapped ) throws ( E ) -> U
@@ -274,7 +274,7 @@ extension Optional where Wrapped: ~Copyable {
274
274
}
275
275
}
276
276
277
- #if $ BorrowingSwitch
277
+ #if hasFeature( BorrowingSwitch)
278
278
@_alwaysEmitIntoClient
279
279
public func borrowingFlatMap< U: ~ Copyable, E: Error > (
280
280
_ transform: ( borrowing Wrapped ) throws ( E ) -> U ?
@@ -542,7 +542,7 @@ public struct _OptionalNilComparisonType: ExpressibleByNilLiteral {
542
542
}
543
543
}
544
544
545
- #if $ BorrowingSwitch
545
+ #if hasFeature( BorrowingSwitch)
546
546
extension Optional where Wrapped: ~ Copyable {
547
547
/// Returns a Boolean value indicating whether an argument matches `nil`.
548
548
///
You can’t perform that action at this time.
0 commit comments