Update if1.rs

This commit is contained in:
Suman Biswas 2023-01-09 23:54:25 +05:30 committed by GitHub
parent c5898ac6b7
commit 6fc3210081
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,10 @@
// if1.rs // if1.rs
// Execute `rustlings hint if1` or use the `hint` watch subcommand for a hint. // Execute `rustlings hint if1` or use the `hint` watch subcommand for a hint.
// I AM NOT DONE // I AM DONE
pub fn bigger(a: i32, b: i32) -> i32 { pub fn bigger(a: i32, b: i32) -> i32 {
// Complete this function to return the bigger number! if a > b { a } else { b }
// Do not use:
// - another function call
// - additional variables
} }
// Don't mind this for now :) // Don't mind this for now :)