mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
isOrderedBefore: => by areInIncreasingOrder:
This commit is contained in:
@@ -246,7 +246,7 @@ testCocoa()
|
||||
|
||||
extension ArraySlice {
|
||||
mutating func qsort(_ compare: (Element, Element) -> Bool) {
|
||||
_introSort(&self, subRange: Range(self.indices), isOrderedBefore: compare)
|
||||
_introSort(&self, subRange: Range(self.indices), by: compare)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user