Skip to content

Commit f8c5803

Browse files
fix typo in remove(_:)'s documentation
"newMember" → "member"
1 parent 73e5fc3 commit f8c5803

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)