mirror of
https://github.com/apple/swift-collections
synced 2026-11-29 05:14:20 +00:00
[OrderedCollections] Oops, restore custom wording for areInIncreasingOrder variants
This commit is contained in:
1 parent
4997e15320
commit
51604cd196
3 files changed
+6
-3
No files matched your search
@@ -431,7 +431,8 @@ extension OrderedDictionary.Elements {
|
||||
/// (Transitive incomparability)
|
||||
///
|
||||
/// The sorting algorithm is guaranteed to be stable. A stable sort
|
||||
/// preserves the relative order of elements that compare as equal.
|
||||
/// preserves the relative order of elements for which
|
||||
/// `areInIncreasingOrder` does not establish an order.
|
||||
///
|
||||
/// - Parameter areInIncreasingOrder: A predicate that returns `true` if its
|
||||
/// first argument should be ordered before its second argument;
|
||||
|
||||
+2
-1
@@ -83,7 +83,8 @@ extension OrderedDictionary {
|
||||
/// (Transitive incomparability)
|
||||
///
|
||||
/// The sorting algorithm is guaranteed to be stable. A stable sort
|
||||
/// preserves the relative order of elements that compare as equal.
|
||||
/// preserves the relative order of elements for which
|
||||
/// `areInIncreasingOrder` does not establish an order.
|
||||
///
|
||||
/// - Parameter areInIncreasingOrder: A predicate that returns `true` if its
|
||||
/// first argument should be ordered before its second argument;
|
||||
|
||||
@@ -217,7 +217,8 @@ extension OrderedSet {
|
||||
/// (Transitive incomparability)
|
||||
///
|
||||
/// The sorting algorithm is guaranteed to be stable. A stable sort
|
||||
/// preserves the relative order of elements that compare as equal.
|
||||
/// preserves the relative order of elements for which
|
||||
/// `areInIncreasingOrder` does not establish an order.
|
||||
///
|
||||
/// - Parameter areInIncreasingOrder: A predicate that returns `true` if its
|
||||
/// first argument should be ordered before its second argument;
|
||||
|
||||
Reference in new issue
Block a user