mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
This commit is contained in:
@@ -75,7 +75,7 @@ extension Collection {
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
extension Collection {
|
||||
/// Return the range of valid index values.
|
||||
/// Returns the range of valid index values.
|
||||
///
|
||||
/// The result's `endIndex` is the same as that of `self`. Because
|
||||
/// `Range` is half-open, iterating the values of the result produces
|
||||
@@ -183,11 +183,11 @@ ${orderingRequirementForComparable}
|
||||
%{
|
||||
|
||||
sortedDocCommentForPredicate = """\
|
||||
/// Return an `Array` containing the sorted elements of `source`
|
||||
/// Returns an `Array` containing the sorted elements of `source`
|
||||
/// according to `isOrderedBefore`."""
|
||||
|
||||
sortedDocCommentForComparable = """\
|
||||
/// Return an `Array` containing the sorted elements of `source`."""
|
||||
/// Returns an `Array` containing the sorted elements of `source`."""
|
||||
|
||||
sortDocCommentForPredicate = """\
|
||||
/// Sort `self` in-place according to `isOrderedBefore`."""
|
||||
|
||||
Reference in New Issue
Block a user