Skip to content

Commit

Permalink
doc: Update swift.md (jaywcjlove#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
whb1998a authored Nov 18, 2022
1 parent 3ce76d3 commit 7f3a01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/swift.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ let isMorning: Bool = true
常量是不可变的。它们的值不能改变:

```swift
numberOfToys: Int = 8
let numberOfToys: Int = 8
numberOfToys += 1
// ❌ 错误:numberOfToys 不可变
```
Expand Down

0 comments on commit 7f3a01a

Please sign in to comment.