Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
positively-charged committed Nov 4, 2016
1 parent 45be2a4 commit 7b38fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/details.md
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ void F() {}

--

For a function that returns a value, it is not necessary to have a return statement at the end of the function. (In fact, as of this time, it is possible to skip the return statement entirely. It's possible, but __don't__ do this.)
For a function that returns a value, it is not necessary to have a return statement at the end of the function. As long as the function ultimately returns a value, you can nest the return statements:

```
// Get absolute value of number.
Expand Down

0 comments on commit 7b38fad

Please sign in to comment.