mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: underscore-prefix String.core
Swift SVN r20411
This commit is contained in:
@@ -223,9 +223,9 @@ extension String {
|
||||
}
|
||||
|
||||
public func compare(other : String) -> Int {
|
||||
return(UnicodeScalarView(core).compare(UnicodeScalarView(other.core)))
|
||||
return(UnicodeScalarView(_core).compare(UnicodeScalarView(other._core)))
|
||||
}
|
||||
public var unicodeScalars : UnicodeScalarView {
|
||||
return UnicodeScalarView(core)
|
||||
return UnicodeScalarView(_core)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user