Skip to content

Commit 7a157f9

Browse files
committed
[stdlib] use @_transparent in an appropriate spot
1 parent 270d100 commit 7a157f9

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)