mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
stdlib/String: use the Unicode collation algorithm in String's and Character's conformance to Comparable
rdar://17498444 Swift SVN r20554
This commit is contained in:
@@ -1434,13 +1434,3 @@ extension String {
|
||||
}
|
||||
}
|
||||
|
||||
@transparent public
|
||||
func == (lhs: String, rhs: NSString) -> Bool {
|
||||
return lhs == (rhs as String)
|
||||
}
|
||||
|
||||
@transparent public
|
||||
func == (lhs: NSString, rhs: String) -> Bool {
|
||||
return (lhs as String) == rhs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user