From 000c9dcdcef00c240b0b50209f8b1319df6a9075 Mon Sep 17 00:00:00 2001 From: John Detloff Date: Fri, 26 Jul 2024 10:22:25 -0500 Subject: [PATCH 1/3] 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. --- concepts/basics/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/concepts/basics/introduction.md b/concepts/basics/introduction.md index 687d52aad..016712165 100644 --- a/concepts/basics/introduction.md +++ b/concepts/basics/introduction.md @@ -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: From 1d4e450bd2d0b6dd5c5058601935f05f9db920e8 Mon Sep 17 00:00:00 2001 From: John Detloff Date: Fri, 26 Jul 2024 20:21:30 -0500 Subject: [PATCH 2/3] Fix minor typo in concepts/basics/about.md --- concepts/basics/about.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/concepts/basics/about.md b/concepts/basics/about.md index a0f22fa10..4e14e8b1c 100644 --- a/concepts/basics/about.md +++ b/concepts/basics/about.md @@ -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: From 57c3e92e5a9769292d174c9120802f21d1b13242 Mon Sep 17 00:00:00 2001 From: John Detloff Date: Fri, 26 Jul 2024 20:25:00 -0500 Subject: [PATCH 3/3] Fix minor typo in lasagna exercise introduction.md --- exercises/concept/lasagna/.docs/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/lasagna/.docs/introduction.md b/exercises/concept/lasagna/.docs/introduction.md index b838f3189..5a9f68030 100644 --- a/exercises/concept/lasagna/.docs/introduction.md +++ b/exercises/concept/lasagna/.docs/introduction.md @@ -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: