Fix typo in renamed function SR-5015 (#9939)

This commit is contained in:
Alex Blewitt
2017-05-26 14:41:39 +01:00
committed by Philippe Hausler
parent 19445cdb0e
commit 3b628d32fc

View File

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