From 63120914512bd4a3003788a7592ef3cc4ff32cf5 Mon Sep 17 00:00:00 2001 From: Daren Chandisingh Date: Wed, 14 Feb 2024 14:44:09 +0000 Subject: Fix typo --- src/content/chapter2_flow_control/lesson06_tail_calls/code.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/content/chapter2_flow_control') diff --git a/src/content/chapter2_flow_control/lesson06_tail_calls/code.gleam b/src/content/chapter2_flow_control/lesson06_tail_calls/code.gleam index d823eec..f029627 100644 --- a/src/content/chapter2_flow_control/lesson06_tail_calls/code.gleam +++ b/src/content/chapter2_flow_control/lesson06_tail_calls/code.gleam @@ -15,7 +15,7 @@ fn factorial_loop(x: Int, accumulator: Int) -> Int { 1 -> accumulator // The last thing this function does is call itself - // In the previous lesson the last thing it did was multiple two ints + // In the previous lesson the last thing it did was multiply two ints _ -> factorial_loop(x - 1, accumulator * x) } } -- cgit v1.2.3