We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45701e0 commit 1b06b2dCopy full SHA for 1b06b2d
source-tw/chapter1/02_a_swift_tour.md
@@ -513,12 +513,12 @@ enum Rank: Int {
513
case .King:
514
return "king"
515
default:
516
- return String(self.rawValue())
+ return String(self.rawValue)
517
}
518
519
520
let ace = Rank.Ace
521
-let aceRawValue = ace.rawValue()
+let aceRawValue = ace.rawValue
522
```
523
524
> 練習:
source/chapter1/02_a_swift_tour.md
@@ -531,12 +531,12 @@ enum Rank: Int {
531
532
533
534
535
536
537
538
539
540
541
542
> 练习:
0 commit comments