From 01b37f901b6e90a09564a2e1415a44a85bcee1f6 Mon Sep 17 00:00:00 2001 From: Paul Martinez Date: Tue, 7 Nov 2023 09:16:06 -0800 Subject: [PATCH] Update introduction.md I believe that documentation can be updated to say `colon` instead of `semi-colon`. https://docs.swift.org/swift-book/documentation/the-swift-programming-language/functions --- 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 2f5ece0cf..6c1e49a42 100644 --- a/exercises/concept/lasagna/.docs/introduction.md +++ b/exercises/concept/lasagna/.docs/introduction.md @@ -78,7 +78,7 @@ In Swift, [functions][functions] are a chunk of code that performs a task. A function has a return type and can thereby be used as a value and be parsed as arguments to other functions. In Swift are functions defined using the `func` keyword followed by the name of the function, arguments separated by commas, and a return type. -The arguments are defined by an argument label, a parameter name followed by a semi-colon and then a type. +The arguments are defined by an argument label, a parameter name followed by a colon and then a type. The return type is defined by a `->` followed by the type of the return value. ```swift