Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion concepts/inout-parameters/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ updateVersion(&dbRecord)
// dbRecord is now (3, "Exercism")
```

~~~~exercism/warrning
~~~~exercism/warning
There are a couple of extra rules one should be aware of regarding in-out parameters.

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.
Expand Down
2 changes: 1 addition & 1 deletion concepts/inout-parameters/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ updateVersion(&dbRecord)
// dbRecord is now (3, "Exercism")
```

~~~~exercism/warrning
~~~~exercism/warning
There are a couple of extra rules one should be aware of regarding in-out parameters.

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.
Expand Down
4 changes: 2 additions & 2 deletions exercises/concept/high-score-board/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ To update a players score by adding to the previous score, define `updateScore`,
```swift
var highScores = ["Dave Thomas": 0, "José Valim": 486_373]
addPlayer(&highScores, "Freyja Ćirić", 12_771_008)
updateScore(&highscores, "Freyja Ćirić", 73)
// Returns ["Dave Thomas": 0, "José Valim": 486_373, "Freyja Ćirić": 73]
updateScore(&highScores, "Freyja Ćirić", 73)
// Returns ["Dave Thomas": 0, "José Valim": 486_373, "Freyja Ćirić": 12_771_081]
```

## 6. Get a list of players with scores ordered by player name
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/lasagna-master/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ updateVersion(&dbRecord)
// dbRecord is now (3, "Exercism")
```

~~~~exercism/warrning
~~~~exercism/warning
There are a couple of extra rules one should be aware of regarding in-out parameters.

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.
Expand Down