Skip to content

Commit 7ae2816

Browse files
committed
02_basic_calculator/01_integers
1 parent a068be3 commit 7ae2816

File tree

1 file changed

+1
-1
lines changed
  • exercises/02_basic_calculator/01_integers/src

1 file changed

+1
-1
lines changed

exercises/02_basic_calculator/01_integers/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
fn compute(a: u32, b: u32) -> u32 {
22
// TODO: change the line below to fix the compiler error and make the tests pass.
3-
a + b * 4u8
3+
a + b * 4u32
44
}
55

66
#[cfg(test)]

0 commit comments

Comments
 (0)