From c4623d1ae54b152ca59c07d3e1f1a97c83106165 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Fri, 11 Dec 2015 11:30:04 +1100 Subject: [PATCH] Fix documentation --- stdlib/public/core/SetAlgebra.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/public/core/SetAlgebra.swift b/stdlib/public/core/SetAlgebra.swift index 2119215e3d832..9c17da231a09f 100644 --- a/stdlib/public/core/SetAlgebra.swift +++ b/stdlib/public/core/SetAlgebra.swift @@ -200,7 +200,7 @@ extension SetAlgebraType { return self.intersect(other).isEmpty } - /// Returns true iff `self.intersect(other).isEmpty`. + /// Returns the set of elements contained in `self` but not in `other`. @warn_unused_result public func subtract(other: Self) -> Self { return self.intersect(self.exclusiveOr(other))