Skip to content

Commit 1da82a0

Browse files
committed
docs: Added comment for handling equal numbers in if/if1.rs bigger function
1 parent 8d0aa11 commit 1da82a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

exercises/03_if/if1.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
pub fn bigger(a: i32, b: i32) -> i32 {
88
// Complete this function to return the bigger number!
9+
// If both numbers are equal, any of them is returned.
910
// Do not use:
1011
// - another function call
1112
// - additional variables

0 commit comments

Comments
 (0)