solution to exercise 02_01

This commit is contained in:
daviddoji committed 2024-06-13 16:40:40 +02:00
1 parent bb27bfad41
commit 03a0a77394
1 file changed
+1 -1
@@ -1,6 +1,6 @@
fn compute(a: u32, b: u32) -> u32 { fn compute(a: u32, b: u32) -> u32 {
// TODO: change the line below to fix the compiler error and make the tests pass. // TODO: change the line below to fix the compiler error and make the tests pass.
a + b * 4u8 a + b * 4u32
} }
#[cfg(test)] #[cfg(test)]