The most interesting thing about expressions versus statements is that expressions will return a value, whereas statements won't. The return value in a function is also the last expression in that function.
-
Notifications
You must be signed in to change notification settings - Fork 0
learn-you-a-rust/functions
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|