[stdlib] String API Review: hide "split" and "lines"

Swift SVN r18514
This commit is contained in:
Dave Abrahams
2014-05-21 20:30:23 +00:00
parent ee261fb348
commit 8445618f1d
4 changed files with 8 additions and 8 deletions

View File

@@ -119,7 +119,7 @@ testStartsWith()
func testEnumerate() {
println("testing enumerate")
// CHECK: testing enumerate
for (i, s) in enumerate( "You will never retrieve the necronomicon!".split(" ") ) {
for (i, s) in enumerate( "You will never retrieve the necronomicon!"._split(" ") ) {
println("\(i): \(s)")
}
// CHECK-NEXT: 0: You