Skip to content

Commit a9924da

Browse files
authored
A typo in the class name (#888)
* fix: A typo in the class name * fix: Typo in the var name and wrong addition result
1 parent 4e2e9e2 commit a9924da

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

concepts/inout-parameters/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ updateVersion(&dbRecord)
2222
// dbRecord is now (3, "Exercism")
2323
```
2424

25-
~~~~exercism/warrning
25+
~~~~exercism/warning
2626
There are a couple of extra rules one should be aware of regarding in-out parameters.
2727
2828
1. Inside a function with in-out parameters, you are not allowed to reference the variable that was passed in as the in-out parameter.

concepts/inout-parameters/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ updateVersion(&dbRecord)
2222
// dbRecord is now (3, "Exercism")
2323
```
2424

25-
~~~~exercism/warrning
25+
~~~~exercism/warning
2626
There are a couple of extra rules one should be aware of regarding in-out parameters.
2727
2828
1. Inside a function with in-out parameters, you are not allowed to reference the variable that was passed in as the in-out parameter.

exercises/concept/high-score-board/.docs/instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ To update a players score by adding to the previous score, define `updateScore`,
7272
```swift
7373
var highScores = ["Dave Thomas": 0, "José Valim": 486_373]
7474
addPlayer(&highScores, "Freyja Ćirić", 12_771_008)
75-
updateScore(&highscores, "Freyja Ćirić", 73)
76-
// Returns ["Dave Thomas": 0, "José Valim": 486_373, "Freyja Ćirić": 73]
75+
updateScore(&highScores, "Freyja Ćirić", 73)
76+
// Returns ["Dave Thomas": 0, "José Valim": 486_373, "Freyja Ćirić": 12_771_081]
7777
```
7878

7979
## 6. Get a list of players with scores ordered by player name

exercises/concept/lasagna-master/.docs/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ updateVersion(&dbRecord)
6565
// dbRecord is now (3, "Exercism")
6666
```
6767

68-
~~~~exercism/warrning
68+
~~~~exercism/warning
6969
There are a couple of extra rules one should be aware of regarding in-out parameters.
7070
7171
1. Inside a function with in-out parameters, you are not allowed to reference the variable that was passed in as the in-out parameter.

0 commit comments

Comments
 (0)