Skip to content

Commit f4d4899

Browse files
authored
Merge pull request #59645 from glessard/rdar95690105-clone-of-46444561-for-5.7
[5.7][stdlib] use @_transparent in an appropriate spot
2 parents 0fcd267 + a667ee3 commit f4d4899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Optional.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ extension Optional: Equatable where Wrapped: Equatable {
396396
/// - Parameters:
397397
/// - lhs: An optional value to compare.
398398
/// - rhs: Another optional value to compare.
399-
@inlinable
399+
@_transparent
400400
public static func ==(lhs: Wrapped?, rhs: Wrapped?) -> Bool {
401401
switch (lhs, rhs) {
402402
case let (l?, r?):

0 commit comments

Comments
 (0)