mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
stdlib: protocol extensions: de-underscore indices
Swift SVN r28245
This commit is contained in:
@@ -118,7 +118,7 @@ public func split<S: Sliceable, R:BooleanType>(
|
||||
= allowEmptySlices ? .Some(elements.startIndex) : .None
|
||||
var splits = 0
|
||||
|
||||
for j in indices(elements) {
|
||||
for j in elements.indices {
|
||||
if isSeparator(elements[j]) {
|
||||
if startIndex != nil {
|
||||
var i = startIndex!
|
||||
|
||||
Reference in New Issue
Block a user