Skip to content

Commit fb9c771

Browse files
authored
Merge pull request #31975 from WowbaggersLiquidLunch/patch-2
[Gardening] Fix typo in documentation of SetAlgebra.remove(_:)
2 parents da000dd + f8c5803 commit fb9c771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/SetAlgebra.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public protocol SetAlgebra: Equatable, ExpressibleByArrayLiteral {
202202
/// - Parameter member: The element of the set to remove.
203203
/// - Returns: For ordinary sets, an element equal to `member` if `member` is
204204
/// contained in the set; otherwise, `nil`. In some cases, a returned
205-
/// element may be distinguishable from `newMember` by identity comparison
205+
/// element may be distinguishable from `member` by identity comparison
206206
/// or some other means.
207207
///
208208
/// For sets where the set type and element type are the same, like

0 commit comments

Comments
 (0)