Explorar el Código

Merge pull request #305 from ehuynh/stable

remove split string extension from being public
Damian Kołakowski hace 8 años
padre
commit
f7fda97d93
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Sources/HttpRouter.swift

+ 1 - 1
Sources/HttpRouter.swift

@@ -134,7 +134,7 @@ open class HttpRouter {
 
 extension String {
     
-    public func split(_ separator: Character) -> [String] {
+    func split(_ separator: Character) -> [String] {
         return self.split { $0 == separator }.map(String.init)
     }