Explorar o código

Response initializer now has internal ACL since it does not need to be public.

Christian Noon %!s(int64=10) %!d(string=hai) anos
pai
achega
f5ebe3b312
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Source/Response.swift

+ 1 - 1
Source/Response.swift

@@ -47,7 +47,7 @@ public struct Response<Value, Error: ErrorType> {
     
         - returns: the new `Response` instance.
     */
-    public init(request: NSURLRequest?, response: NSHTTPURLResponse?, data: NSData?, result: Result<Value, Error>) {
+    init(request: NSURLRequest?, response: NSHTTPURLResponse?, data: NSData?, result: Result<Value, Error>) {
         self.request = request
         self.response = response
         self.data = data