diff options
author | Daren Chandisingh <dchandisingh@gmail.com> | 2024-02-14 14:44:09 +0000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-02-15 10:54:18 +0000 |
commit | 63120914512bd4a3003788a7592ef3cc4ff32cf5 (patch) | |
tree | 3ecb9476dbee8d39925f9af2dadfc97a6e8e78d9 /src/content | |
parent | d425a348040a1442be67c3671a65f572465556b6 (diff) | |
download | tour-63120914512bd4a3003788a7592ef3cc4ff32cf5.tar.gz tour-63120914512bd4a3003788a7592ef3cc4ff32cf5.zip |
Fix typo
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/chapter2_flow_control/lesson06_tail_calls/code.gleam | 2 |
1 files changed, 1 insertions, 1 deletions
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) } } |