mirror of
https://github.com/darkicewolf50/RustBrock.git
synced 2025-07-06 02:57:13 -06:00
continuing ch 3 finished branch section
This commit is contained in:
@ -41,7 +41,7 @@ fn example_function (x:i8, y:u16) {
|
||||
// EXPRESSIONS DO NOT END WITH ;
|
||||
// if you add a ; to the end of a statment it will turn into a statement and not return anything
|
||||
// unless it is a return keyword
|
||||
// or if it is a marco
|
||||
// or if it is a marco (not required)
|
||||
|
||||
|
||||
fn with_return_plus_one (c: i16) -> i16 {
|
||||
|
Reference in New Issue
Block a user