Skip to content

Commit

Permalink
Fix a small typo in introduction.md (#762)
Browse files Browse the repository at this point in the history
* Fix a small typo in introduction.md

I believe a minor typo might have been introduced to this text while editing. I've edited the sentence to make it correct while maintaining what I believe was the intended meaning.

* Fix minor typo in concepts/basics/about.md

* Fix minor typo in lasagna exercise introduction.md
  • Loading branch information
jmdetloff authored Jul 27, 2024
1 parent befe70d commit 15374f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion concepts/basics/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Swift arguments are a bit special compared to other languages, they use [argumen
The argument label is used when calling the function.
The parameter name is used inside the function body to refer to the argument value.
If you only assign one name to the argument it will be used as both the argument label and the parameter name.
When assigning the argument label name as: `_` so will the argument not have a label when calling the function, e.g: `functionName(argumentValue)`
When assigning the argument label name as: `_` the argument will not have a label when calling the function, e.g: `functionName(argumentValue)`

To call a function you use the function name followed by the argument label and the argument value, like this:

Expand Down
2 changes: 1 addition & 1 deletion concepts/basics/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Swift arguments are a bit special compared to other languages, they use [argumen
The argument label is used when calling the function.
The parameter name is used inside the function body to refer to the argument value.
If you only assign one name to the argument it will be used as both the argument label and the parameter name.
When assigning the argument label name as: `_` so will the argument not have a label when calling the function, e.g: `functionName(argumentValue)`
When assigning the argument label name as: `_` the argument will not have a label when calling the function, e.g: `functionName(argumentValue)`

To call a function you use the function name followed by the argument label and the argument value, like this:

Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/lasagna/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Swift arguments are a bit special compared to other languages, they use [argumen
The argument label is used when calling the function.
The parameter name is used inside the function body to refer to the argument value.
If you only assign one name to the argument it will be used as both the argument label and the parameter name.
When assigning the argument label name as: `_` so will the argument not have a label when calling the function, e.g: `functionName(argumentValue)`
When assigning the argument label name as: `_` the argument will not have a label when calling the function, e.g: `functionName(argumentValue)`

To call a function you use the function name followed by the argument label and the argument value, like this:

Expand Down

0 comments on commit 15374f6

Please sign in to comment.