diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.swift index 50116a819..d16676304 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Elements.swift @@ -430,7 +430,7 @@ extension OrderedDictionary.Elements { /// and `c` are incomparable, then `a` and `c` are also incomparable. /// (Transitive incomparability) /// - /// The sorting algorithm is not guaranteed to be stable. A stable sort + /// The sorting algorithm is guaranteed to be stable. A stable sort /// preserves the relative order of elements for which /// `areInIncreasingOrder` does not establish an order. /// @@ -458,8 +458,8 @@ extension OrderedDictionary.Elements where Key: Comparable { /// sorted in ascending order. (`Value` doesn't need to conform to /// `Comparable` because the keys are guaranteed to be unique.) /// - /// The sorting algorithm is not guaranteed to be stable. A stable sort - /// preserves the relative order of elements that compare equal. + /// The sorting algorithm is guaranteed to be stable. A stable sort + /// preserves the relative order of elements that compare as equal. /// /// - Complexity: O(*n* log *n*), where *n* is the length of the collection. @inlinable diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Partial MutableCollection.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Partial MutableCollection.swift index c01e96860..f43d69935 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Partial MutableCollection.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary+Partial MutableCollection.swift @@ -82,7 +82,7 @@ extension OrderedDictionary { /// and `c` are incomparable, then `a` and `c` are also incomparable. /// (Transitive incomparability) /// - /// The sorting algorithm is not guaranteed to be stable. A stable sort + /// The sorting algorithm is guaranteed to be stable. A stable sort /// preserves the relative order of elements for which /// `areInIncreasingOrder` does not establish an order. /// @@ -116,8 +116,8 @@ extension OrderedDictionary where Key: Comparable { /// sorted in ascending order. (`Value` doesn't need to conform to /// `Comparable` because the keys are guaranteed to be unique.) /// - /// The sorting algorithm is not guaranteed to be stable. A stable sort - /// preserves the relative order of elements that compare equal. + /// The sorting algorithm is guaranteed to be stable. A stable sort + /// preserves the relative order of elements that compare as equal. /// /// - Complexity: O(*n* log *n*), where *n* is the length of the collection. @inlinable diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial MutableCollection.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial MutableCollection.swift index 1103f0cd3..953b8a7aa 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial MutableCollection.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet+Partial MutableCollection.swift @@ -216,7 +216,7 @@ extension OrderedSet { /// and `c` are incomparable, then `a` and `c` are also incomparable. /// (Transitive incomparability) /// - /// The sorting algorithm is not guaranteed to be stable. A stable sort + /// The sorting algorithm is guaranteed to be stable. A stable sort /// preserves the relative order of elements for which /// `areInIncreasingOrder` does not establish an order. /// @@ -266,8 +266,8 @@ extension OrderedSet where Element: Comparable { /// print(students) /// // Prints "["Peter", "Kweku", "Kofi", "Akosua", "Abena"]" /// - /// The sorting algorithm is not guaranteed to be stable. A stable sort - /// preserves the relative order of elements that compare equal. + /// The sorting algorithm is guaranteed to be stable. A stable sort + /// preserves the relative order of elements that compare as equal. /// /// - Complexity: O(*n* log *n*), where *n* is the length of the collection. @inlinable diff --git a/Utils/swift-collections.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Utils/swift-collections.xcworkspace/xcshareddata/swiftpm/Package.resolved index dce13b013..018829f4f 100644 --- a/Utils/swift-collections.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Utils/swift-collections.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -6,8 +6,8 @@ "repositoryURL": "https://github.com/apple/swift-argument-parser", "state": { "branch": null, - "revision": "df9ee6676cd5b3bf5b330ec7568a5644f547201b", - "version": "1.1.3" + "revision": "9f39744e025c7d377987f30b03770805dcb0bcd1", + "version": "1.1.4" } }, { @@ -15,8 +15,8 @@ "repositoryURL": "https://github.com/apple/swift-system", "state": { "branch": null, - "revision": "39774ef16a6d91dee6f666b940e00ea202710cf7", - "version": "0.0.3" + "revision": "025bcb1165deab2e20d4eaba79967ce73013f496", + "version": "1.2.1" } } ]