Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 168fad9

Browse files
author
Sebastian Bean
committed
fix compiler error 'missing argument pNre#2'
1 parent fe70111 commit 168fad9

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)

AltStyle によって変換されたページ (->オリジナル) /