mirror of
https://github.com/darkicewolf50/RustBrock.git
synced 2025-07-06 02:57:13 -06:00
got through a good portion of loops
This commit is contained in:
@ -37,11 +37,11 @@ fn example_function (x:i8, y:u16) {
|
||||
// let x = 5;
|
||||
// x + 1
|
||||
// }
|
||||
// macros are statements
|
||||
|
||||
// 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 (not required)
|
||||
|
||||
|
||||
fn with_return_plus_one (c: i16) -> i16 {
|
||||
|
Reference in New Issue
Block a user