Skip to content

Commit ade9af8

Browse files
committed
[stdlib] correct first argument label for .Some
1 parent 7c2365e commit ade9af8

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
@@ -521,7 +521,7 @@ extension Optional {
521521
return .none
522522
}
523523
@available(*, unavailable, renamed: "some")
524-
public static func Some(x: Wrapped) -> Optional<Wrapped> {
524+
public static func Some(_ x: Wrapped) -> Optional<Wrapped> {
525525
return .some(x)
526526
}
527527

0 commit comments

Comments
 (0)