File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments