[stdlib] Indent bullet continuations in doc comments

The text is a lot more readable that way.

Swift SVN r28471
This commit is contained in:
Dave Abrahams
2015-05-12 16:59:08 +00:00
parent 340e4d8f8a
commit 106b39a497
50 changed files with 162 additions and 161 deletions

View File

@@ -62,6 +62,7 @@ extension SequenceType ${"" if preds else "where Generator.Element : Comparable"
/// Returns the minimum element in `self` or `nil` if the sequence is empty.
///
/// - complexity: O(elements.count())
///
/// ${orderingRequirement}
final public func minElement(
% if preds:
@@ -83,7 +84,7 @@ extension SequenceType ${"" if preds else "where Generator.Element : Comparable"
/// Returns the maximum element in `self` or `nil` if the sequence is empty.
///
/// - complexity: O(elements.count())
/// ${orderingRequirement}
/// ${orderingRequirement}
final public func maxElement(
% if preds:
@noescape isOrderedBefore: (${GElement}, ${GElement}) -> Bool
@@ -226,8 +227,8 @@ if preds:
/// ordering, using `isOrderedBefore` as the comparison between elements.
///
/// - note: This method implements the mathematical notion of lexicographical
/// ordering, which has no connection to Unicode. If you are sorting strings
/// to present to the end-user, you should use `String` APIs that perform
/// ordering, which has no connection to Unicode. If you are sorting strings
/// to present to the end-user, you should use `String` APIs that perform
/// localized comparison.
///
/// Requires: `isOrderedBefore` is a [strict weak ordering](http://en.wikipedia.org/wiki/Strict_weak_order#Strict_weak_orderings)
@@ -238,8 +239,8 @@ else:
/// ordering, using "<" as the comparison between elements.
///
/// - note: This method implements the mathematical notion of lexicographical
/// ordering, which has no connection to Unicode. If you are sorting strings
/// to present to the end-user, you should use `String` APIs that perform
/// ordering, which has no connection to Unicode. If you are sorting strings
/// to present to the end-user, you should use `String` APIs that perform
/// localized comparison."""
}%