Merge pull request #320 from TheLittleBoy/patch-7

修正代码
This commit is contained in:
梁杰
2014-09-26 11:13:21 +08:00

View File

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