瀏覽代碼

[PR #1670] Fixed compiler issue with DownloadRequest in AF4 migration guide.

Wolfgang Lutz 9 年之前
父節點
當前提交
4dfef9b341
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Documentation/Alamofire 4.0 Migration Guide.md

+ 1 - 1
Documentation/Alamofire 4.0 Migration Guide.md

@@ -184,7 +184,7 @@ Alamofire.download(.GET, urlString, parameters: parameters, encoding: .JSON, to:
 
 // Alamofire 4
 let fileURL: URL
-let destination: Request.DownloadFileDestination = { _, _ in 
+let destination: DownloadRequest.DownloadFileDestination = { _, _ in 
 	return (fileURL, [.createIntermediateDirectories, .removePreviousFile]) 
 }
 let parameters: Parameters = ["foo": "bar"]