mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user