mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix typo in renamed function SR-5015 (#9939)
This commit is contained in:
committed by
Philippe Hausler
parent
19445cdb0e
commit
3b628d32fc
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user