Merge pull request #13 from akshitgautam42/Ex-14

Exercise 14
This commit is contained in:
Akshit Gautam 2023-11-11 20:45:09 +05:30 committed by GitHub
commit 432ac819a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,13 +2,13 @@
//
// 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!
// Do not use:
// - another function call
// - additional variables
if a < b {
return b
}
return a
}
// Don't mind this for now :)