Skip to content

Commit a11e61a

Browse files
committed
Merge pull request #409 from nielsandriesse/patch-1
Set.subtract(): Fix documentation
2 parents 0a07248 + c4623d1 commit a11e61a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: stdlib/public/core/SetAlgebra.swift

+1-1
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)