Skip to content

Commit 308f12a

Browse files
alblueparkera
authored andcommitted
Fix typo in renamed function SR-5015 (#1014)
1 parent eb4abfb commit 308f12a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/NSStringAPI.swift

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

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

0 commit comments

Comments
 (0)