Skip to content

Commit

Permalink
Merge pull request #1351 from mcmoody/patch-1
Browse files Browse the repository at this point in the history
Update fn.md
  • Loading branch information
steveklabnik authored Jun 19, 2020
2 parents 3889695 + 1b0138a commit 306f877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fn.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ return type must be specified after an arrow `->`.

The final expression in the function will be used as return value.
Alternatively, the `return` statement can be used to return a value earlier
from within the function, even from inside loops or `if`s.
from within the function, even from inside loops or `if` statements.

Let's rewrite FizzBuzz using functions!

Expand Down

0 comments on commit 306f877

Please sign in to comment.