From 7f63914a7161923e9af6889ed0f954de1ed4c7f0 Mon Sep 17 00:00:00 2001 From: Ryan McLeod <220240+warpling@users.noreply.github.com> Date: Mon, 19 Dec 2022 14:23:40 +0100 Subject: [PATCH] [OrderedDictionary] Explicitly mention in documentation that keys/values are ordered (cherry picked from commit fef38395004569688a967b88c70d8774c63f5fc5) --- .../OrderedDictionary/OrderedDictionary.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary.swift b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary.swift index 3863521cc..c3dc81f86 100644 --- a/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary.swift +++ b/Sources/OrderedCollections/OrderedDictionary/OrderedDictionary.swift @@ -159,7 +159,7 @@ /// original dictionary value.) /// /// The ``values-swift.property`` collection is a mutable random-access -/// collection of the values in the dictionary: +/// ordered collection of the values in the dictionary: /// /// d.values // "two", "one", "zero" /// d.values[2] = "nada" @@ -219,7 +219,7 @@ public struct OrderedDictionary { } extension OrderedDictionary { - /// A read-only collection view for the keys contained in this dictionary, as + /// A read-only ordered collection view for the keys contained in this dictionary, as /// an `OrderedSet`. /// /// - Complexity: O(1) @@ -227,7 +227,7 @@ extension OrderedDictionary { @inline(__always) public var keys: OrderedSet { _keys } - /// A mutable collection view containing the values in this dictionary. + /// A mutable collection view containing the ordered values in this dictionary. /// /// - Complexity: O(1) @inlinable