removed redundant sentence fragment (#30793)

This commit is contained in:
timrayle
2019-01-18 15:39:36 -08:00
committed by Tom
parent b49794693e
commit e86f606132

View File

@ -52,7 +52,6 @@ In the above program, the nested function addGreetingAndPrint() is being called
The statement outputMessageByGreeting("Jack") calls the outer function. And the statement addGreetingAndPrint() inside the outer function calls the method which outputs Hello! Jack in the console.
Example 2: Nested function with parameters and return values
Nested functions can contain functions with parameters and return values.
```Swift
func operate(with symbol:String) -> (Int, Int) -> Int {