Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines

This commit is contained in:
Max Moiseev
2016-02-23 14:26:14 -08:00
121 changed files with 1515 additions and 591 deletions

View File

@@ -392,7 +392,7 @@ extension Sequence {
/// and *N* is the length of the result.
@warn_unused_result
public func flatMap<S : Sequence>(
transform: (${GElement}) throws -> S
@noescape transform: (${GElement}) throws -> S
) rethrows -> [S.${GElement}] {
var result: [S.${GElement}] = []
for element in self {