improve stdlib hygiene a bit.

Swift SVN r28392
This commit is contained in:
Chris Lattner
2015-05-10 02:55:18 +00:00
parent 1968b85a03
commit c1df892d47
44 changed files with 135 additions and 138 deletions

View File

@@ -21,7 +21,7 @@
//
func _toNSArray<T, U : AnyObject>(a: [T], @noescape f: (T) -> U) -> NSArray {
var result = NSMutableArray(capacity: a.count)
let result = NSMutableArray(capacity: a.count)
for s in a {
result.addObject(f(s))
}