Merge pull request #3717 from Calinou/swift-en-fix-typos

[swift/en] Fix typos
This commit is contained in:
Adam Bard 2019-10-30 12:35:44 -07:00 committed by GitHub
commit b63b1b32b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ let multiLineString = """
This is a multi-line string.
It's called that because it takes up multiple lines (wow!)
Any indentation beyond the closing quotation marks is kept, the rest is discarded.
You can include " or "" in multi-line strings because the delimeter is three "s.
You can include " or "" in multi-line strings because the delimiter is three "s.
"""
// Arrays
@ -370,7 +370,7 @@ func say(_ message: String) {
}
say("Hello")
// Default parameters can be ommitted when calling the function.
// Default parameters can be omitted when calling the function.
func printParameters(requiredParameter r: Int, optionalParameter o: Int = 10) {
print("The required parameter was \(r) and the optional parameter was \(o)")
}