[stdlib] Requires in comments changed to Precondition

This commit is contained in:
Max Moiseev
2016-02-19 18:57:26 -08:00
parent 40b1a0b7e0
commit 78ba5d5f3f
52 changed files with 219 additions and 219 deletions

View File

@@ -105,12 +105,12 @@ partitionDocComment = """\
/// Only returns `range.endIndex` when `self` is empty."""
orderingRequirementForPredicate = """\
/// - Requires: `isOrderedBefore` is a
/// - Precondition: `isOrderedBefore` is a
/// [strict weak ordering](http://en.wikipedia.org/wiki/Strict_weak_order#Strict_weak_orderings)
/// over the elements in `self`."""
orderingRequirementForComparable = """\
/// - Requires: The less-than operator (`func <`) defined in
/// - Precondition: The less-than operator (`func <`) defined in
/// the `Comparable` conformance is a
/// [strict weak ordering](http://en.wikipedia.org/wiki/Strict_weak_order#Strict_weak_orderings)
/// over the elements in `self`."""