Swift - Functions
Identify the error in this Swift code using nested functions:
func calculate() {
innerFunc()
func innerFunc() {
print("Inside inner")
}
}
calculate()