Skip to content

Commit

Permalink
fix: wrong comment of incrementByTen
Browse files Browse the repository at this point in the history
  • Loading branch information
2sem committed Oct 31, 2023
1 parent c65a7e6 commit 21c8400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swift/Closures.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ let incrementByTen = makeIncrementer(forIncrement: 10)
incrementByTen()
incrementByTen()
incrementByTen()
// returns a value of 39
// returns a value of 30
```

And by calling it three times it would return a value of 30.
Expand Down

0 comments on commit 21c8400

Please sign in to comment.