We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36f6375 commit 3f60de3Copy full SHA for 3f60de3
exercises/02_basic_calculator/01_integers/src/lib.rs
@@ -1,6 +1,7 @@
1
fn compute(a: u32, b: u32) -> u32 {
2
// TODO: change the line below to fix the compiler error and make the tests pass.
3
- a + b * 4u8
+ let multiplier: u8 = 4;
4
+ a + b * multiplier
5
}
6
7
#[cfg(test)]
0 commit comments