Skip to content

Commit

Permalink
[doc] fix typo in functions.md, close JuliaLang#41456(JuliaLang#41459)
Browse files Browse the repository at this point in the history
  • Loading branch information
smigniot authored and johanmon committed Jul 5, 2021
1 parent 9409179 commit 7503a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/manual/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ end
```

This is a *convention* in the sense that `nothing` is not a Julia keyword
but a only singleton object of type `Nothing`.
but only a singleton object of type `Nothing`.
Also, you may notice that the `printx` function example above is contrived,
because `println` already returns `nothing`, so that the `return` line is redundant.

Expand Down

0 comments on commit 7503a8d

Please sign in to comment.