solution to exercise 02_03

This commit is contained in:
David Doblas Jiménez 2024-06-13 16:55:06 +02:00
parent 1e516bf0a5
commit 211f23cea4

View File

@ -1,6 +1,6 @@
/// Return `true` if `n` is even, `false` otherwise.
fn is_even(n: u32) -> bool {
todo!()
n % 2 == 0
}
#[cfg(test)]