From 15374f60b1805f0ea4ceb24782bb1b5d4a208037 Mon Sep 17 00:00:00 2001 From: John Detloff Date: Sat, 27 Jul 2024 08:20:03 -0500 Subject: [PATCH] Fix a small typo in introduction.md (#762) * 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 --- concepts/basics/about.md | 2 +- concepts/basics/introduction.md | 2 +- exercises/concept/lasagna/.docs/introduction.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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: 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: 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: