1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-12 11:14:55 +02: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:
liv 2024-03-15 20:56:38 +01:00 committed by GitHub
commit 14ca4e8197
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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