Skip to content

Commit 4c97106

Browse files
committed
02_basic_calculator/03_if_else
1 parent d6167b2 commit 4c97106

File tree

1 file changed

+1
-1
lines changed
  • exercises/02_basic_calculator/03_if_else/src

1 file changed

+1
-1
lines changed

exercises/02_basic_calculator/03_if_else/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// Return `true` if `n` is even, `false` otherwise.
22
fn is_even(n: u32) -> bool {
3-
todo!()
3+
n % 2 == 0
44
}
55

66
#[cfg(test)]

0 commit comments

Comments
 (0)