Skip to content

Commit

Permalink
Solved the Exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
UgoMars committed Oct 9, 2024
1 parent 38198fd commit 0d162e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/02_basic_calculator/01_integers/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fn compute(a: u32, b: u32) -> u32 {
// TODO: change the line below to fix the compiler error and make the tests pass.
a + b * 4u8
a + b * 4u32
}

#[cfg(test)]
Expand Down

0 comments on commit 0d162e9

Please sign in to comment.