Skip to content

Commit c4623d1

Browse files
Fix documentation
1 parent 840c34f commit c4623d1

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
@@ -200,7 +200,7 @@ extension SetAlgebraType {
200200
return self.intersect(other).isEmpty
201201
}
202202

203-
/// Returns true iff `self.intersect(other).isEmpty`.
203+
/// Returns the set of elements contained in `self` but not in `other`.
204204
@warn_unused_result
205205
public func subtract(other: Self) -> Self {
206206
return self.intersect(self.exclusiveOr(other))

0 commit comments

Comments
 (0)