This commit is contained in:
2024-04-07 19:53:54 -04:00
parent 459c52137a
commit 64a7939eb7
43 changed files with 141 additions and 160 deletions

View File

@@ -2,14 +2,16 @@
//
// Execute `rustlings hint if1` or use the `hint` watch subcommand for a hint.
// I AM NOT DONE
pub fn bigger(a: i32, b: i32) -> i32 {
// Complete this function to return the bigger number!
// If both numbers are equal, any of them can be returned.
// Do not use:
// - another function call
// - additional variables
if (a > b) {
return a;
}
return b;
}
// Don't mind this for now :)