Skip to content

Commit b77a89a

Browse files
committed
Merge pull request pNre#88 from sebbean/Swift-1.2
fix compiler error 'missing argument pNre#2'
2 parents fe70111 + 168fad9 commit b77a89a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ExSwift/String.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ public extension String {
9191
:returns: Array of substrings
9292
*/
9393
func explode (separator: Character) -> [String] {
94-
return split(self) { (element: Character) -> Bool in
94+
return split(self, { (element: Character) -> Bool in
9595
return element == separator
96-
}
96+
})
9797
}
9898

9999
/**

0 commit comments

Comments
 (0)