修正代码

代码中应该没有回车
This commit is contained in:
TheLittleBoy
2014-09-20 17:21:50 +08:00
parent 3b765742d8
commit ab4b7f056d

View File

@ -570,8 +570,7 @@ struct Card {
var rank: Rank var rank: Rank
var suit: Suit var suit: Suit
func simpleDescription() -> String { func simpleDescription() -> String {
return "The \(rank.simpleDescription()) of \ return "The \(rank.simpleDescription()) of \(suit.simpleDescription())"
(suit.simpleDescription())"
} }
} }
let threeOfSpades = Card(rank: .Three, suit: .Spades) let threeOfSpades = Card(rank: .Three, suit: .Spades)