Skip to content

Commit ae24c99

Browse files
committed
Merge pull request swiftlang#95 from regexident/SetAlgebra-docfix
Fixing wrong method documentation for SetAlgebra.subtract
2 parents 1d2aa65 + b7a6236 commit ae24c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/SetAlgebra.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public protocol SetAlgebraType : Equatable, ArrayLiteralConvertible {
108108
mutating func exclusiveOrInPlace(other: Self)
109109

110110
//===--- Requirements with default implementations ----------------------===//
111-
/// Return true iff `self.intersect(other).isEmpty`.
111+
/// Returns the set of elements contained in `self` but not in `other`.
112112
@warn_unused_result
113113
func subtract(other: Self) -> Self
114114

0 commit comments

Comments
 (0)