complete 02/[0,1,2]

This commit is contained in:
2025-02-19 15:50:18 +05:30
parent b9cb4c290a
commit 57475122a9
3 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
fn compute(a: u32, b: u32) -> u32 {
// TODO: change the line below to fix the compiler error and make the tests pass.
let multiplier: u8 = 4;
a + b * multiplier
a + b * multiplier as u32
}
#[cfg(test)]