mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 14:57:32 -05:00
Merge pull request #1866 from guizo792/guizo792
docs: Added comment for handling equal numbers in if/if1.rs `bigger` function
This commit is contained in:
commit
14ca4e8197
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue