移除行末空格 (#782)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
# 版本兼容性
|
||||
-----------------
|
||||
|
||||
|
||||
> 4.0
|
||||
> 翻译:[muhlenXi](https://github.com/muhlenxi) 2017-09-25
|
||||
|
||||
|
||||
@ -611,10 +611,10 @@ enum ServerResponse {
|
||||
case result(String, String)
|
||||
case failure(String)
|
||||
}
|
||||
|
||||
|
||||
let success = ServerResponse.result("6:00 am", "8:09 pm")
|
||||
let failure = ServerResponse.failure("Out of cheese.")
|
||||
|
||||
|
||||
switch success {
|
||||
case let .result(sunrise, sunset):
|
||||
print("Sunrise is at \(sunrise) and sunset is at \(sunset)")
|
||||
|
||||
Reference in New Issue
Block a user