提交 309ed0ca 编写于 作者: A Arnaud Mesureur

Update README.md

Fix "Operand of postfix '!' should have optional type" by removing extraneous `!` after `URL`
上级 ae2ea5a4
......@@ -687,7 +687,7 @@ enum Router: URLRequestConvertible {
var URLRequest: NSURLRequest {
let URL = NSURL(string: Router.baseURLString)!
let mutableURLRequest = NSMutableURLRequest(URL: URL!.URLByAppendingPathComponent(path))
let mutableURLRequest = NSMutableURLRequest(URL: URL.URLByAppendingPathComponent(path))
mutableURLRequest.HTTPMethod = method.rawValue
if let token = Router.OAuthToken {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册