From b72a6cfd9384bc3ace8ea2412e79d5ec34c24934 Mon Sep 17 00:00:00 2001 From: kati-kms Date: Thu, 26 Oct 2023 02:14:51 +0900 Subject: [PATCH] Fix typos: OrderedSet.swift DocC --- Sources/OrderedCollections/OrderedSet/OrderedSet.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/OrderedCollections/OrderedSet/OrderedSet.swift b/Sources/OrderedCollections/OrderedSet/OrderedSet.swift index 5f0fbf70..2d8d3009 100644 --- a/Sources/OrderedCollections/OrderedSet/OrderedSet.swift +++ b/Sources/OrderedCollections/OrderedSet/OrderedSet.swift @@ -49,7 +49,7 @@ /// ``intersection(_:)-4o09a`` or ``isSubset(of:)-ptij``. /// /// buildingMaterials.contains("glass") // false -/// buildingMaterials.intersection(["brick", "straw"]) // ["straw", "brick"] +/// buildingMaterials.intersection(["bricks", "straw"]) // ["straw", "bricks"] /// /// Operations that return an ordered set usually preserve the ordering of /// elements in their input. For example, in the case of the `intersection` call @@ -99,7 +99,7 @@ /// elements to the end of the collection. /// /// buildingMaterials.unordered.insert("glass") // => inserted: true -/// // buildingMaterials is now ["straw", "sticks", "brick", "glass"] +/// // buildingMaterials is now ["straw", "sticks", "bricks", "glass"] /// /// Accessing the unordered view is an efficient operation, with constant /// (minimal) overhead. Direct mutations of the unordered view (such as the