Skip to content

Commit

Permalink
Merge pull request #95 from regexident/SetAlgebra-docfix
Browse files Browse the repository at this point in the history
Fixing wrong method documentation for SetAlgebra.subtract
  • Loading branch information
bitjammer committed Dec 3, 2015
2 parents 1d2aa65 + b7a6236 commit ae24c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/public/core/SetAlgebra.swift
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public protocol SetAlgebraType : Equatable, ArrayLiteralConvertible {
mutating func exclusiveOrInPlace(other: Self)

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

Expand Down

0 comments on commit ae24c99

Please sign in to comment.