mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 15:56:28 +00:00
docs: Added comment for handling equal numbers in if/if1.rs bigger
function
This commit is contained in:
parent
8d0aa11a35
commit
1da82a0eab
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
pub fn bigger(a: i32, b: i32) -> i32 {
|
pub fn bigger(a: i32, b: i32) -> i32 {
|
||||||
// Complete this function to return the bigger number!
|
// Complete this function to return the bigger number!
|
||||||
|
// If both numbers are equal, any of them is returned.
|
||||||
// Do not use:
|
// Do not use:
|
||||||
// - another function call
|
// - another function call
|
||||||
// - additional variables
|
// - additional variables
|
||||||
|
|
Loading…
Reference in a new issue