From 24176808293cb214cb19c8781e549356c63fcd19 Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Wed, 10 May 2023 20:29:21 -0700 Subject: [PATCH] Correction to comment in function_types.bal --- examples/function-types/function_types.bal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/function-types/function_types.bal b/examples/function-types/function_types.bal index 3235819d32..224555d948 100644 --- a/examples/function-types/function_types.bal +++ b/examples/function-types/function_types.bal @@ -14,7 +14,7 @@ public function main() { io:println(evenFunc1(5)); io:println(evenFunc1(6)); - // Type of the `evenFunc1` variable is the `function(int num = 5) returns boolean` function type. + // Type of the `evenFunc2` variable is the `function (int num = 5) returns boolean` function type. function (int num = 5) returns boolean evenFunc2 = isEven; // Invoke the function with the default value defined in the function type.