summaryrefslogtreecommitdiff
path: root/exercises/03_if/if1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/03_if/if1.rs')
-rw-r--r--exercises/03_if/if1.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/exercises/03_if/if1.rs b/exercises/03_if/if1.rs
index e5a3c5a..8036c89 100644
--- a/exercises/03_if/if1.rs
+++ b/exercises/03_if/if1.rs
@@ -4,6 +4,7 @@ fn bigger(a: i32, b: i32) -> i32 {
// Do not use:
// - another function call
// - additional variables
+ if a > b { a } else { b }
}
fn main() {