質問するログイン新規登録

回答編集履歴

1

fix position of inout

2020/08/18 13:31

投稿

YufanLou
YufanLou

スコア466

answer CHANGED
@@ -102,7 +102,7 @@
102
102
  引数化すると:
103
103
 
104
104
  ```swift
105
- func +=(inout tac: Clock, n: Int) {
105
+ func +=(tac: inout Clock, n: Int) {
106
106
  tac.advance(n)
107
107
  }
108
108
  ```