Skip to content

Commit 3b628d3

Browse files
albluephausler
authored andcommitted
Fix typo in renamed function SR-5015 (#9939)
1 parent 19445cd commit 3b628d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/SDK/Foundation/NSStringAPI.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ extension String {
17781778
fatalError("unavailable function can't be called")
17791779
}
17801780

1781-
@available(*, unavailable, renamed: "componentsSeparated(by:)")
1781+
@available(*, unavailable, renamed: "components(separatedBy:)")
17821782
public func componentsSeparatedBy(_ separator: String) -> [String] {
17831783
fatalError("unavailable function can't be called")
17841784
}

0 commit comments

Comments
 (0)