Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a small typo in introduction.md #762

Merged
merged 3 commits into from
Jul 27, 2024
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/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