提交 ba280a4f 编写于 作者: C Christian Noon

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

This reverts commit f5ebe3b3. After more investigation, the `Response` struct initializer definitely needs to be public.
上级 593dd640
......@@ -47,7 +47,7 @@ public struct Response<Value, Error: ErrorType> {
- returns: the new `Response` instance.
*/
init(request: NSURLRequest?, response: NSHTTPURLResponse?, data: NSData?, result: Result<Value, Error>) {
public init(request: NSURLRequest?, response: NSHTTPURLResponse?, data: NSData?, result: Result<Value, Error>) {
self.request = request
self.response = response
self.data = data
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册