Skip to content

Commit a3d6297

Browse files
committed
Visibility fix
1 parent d947957 commit a3d6297

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Source/String_Extensions.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
public extension NativeString : Streamable {
1+
public extension NativeString : Streamable {
22

33
typealias Index = Int
44

@@ -18,7 +18,7 @@ public extension NativeString : Streamable {
1818
}
1919

2020
public init(_ c: Char) {
21-
return NativeString(repeating: c, count: 1)
21+
return NativeString(repeating: c, count: 1)
2222
}
2323

2424
public init(_ object: Object) {
@@ -143,7 +143,7 @@ public extension NativeString : Streamable {
143143
//func components(separatedBy separator: CharacterSet) -> [String] {
144144
//}
145145

146-
func components(separatedBy separator: String) -> [String] {
146+
public func components(separatedBy separator: String) -> [String] {
147147
let separatorLength = separator.length()
148148
if separatorLength == 0 {
149149
return [self]
@@ -333,4 +333,4 @@ public extension NativeString : Streamable {
333333
return nil
334334
#endif
335335
}
336-
}
336+
}

0 commit comments

Comments
 (0)