Update 03_a_swift_tour.md
This commit is contained in:
@ -542,7 +542,7 @@ if let convertedRank = Rank(rawValue: 3) {
|
||||
}
|
||||
```
|
||||
|
||||
枚举的关联值是实际值,并不是原始值的另一种表达方法。实际上,如果没有比较有意义的原始值,你就不需要提供原始值。
|
||||
枚举值是实际值,并不是原始值的另一种表达方法。实际上,如果没有比较有意义的原始值,你就不需要提供原始值。
|
||||
|
||||
```swift
|
||||
enum Suit {
|
||||
|
||||
Reference in New Issue
Block a user