mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] De-gyb sorting (#9135)
* [stdlib] De-gyb sort algorithms * [stdlib] Rename Sort.swift.gyb * Update tests for de-gybbed sort
This commit is contained in:
@@ -389,7 +389,7 @@ extension MutableCollection
|
||||
return ()
|
||||
}
|
||||
if didSortUnsafeBuffer == nil {
|
||||
_introSort(&self, subRange: startIndex..<endIndex)
|
||||
_introSort(&self, subRange: startIndex..<endIndex, by: <)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user