We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 868bc46 commit 29a3522Copy full SHA for 29a3522
exercises/01_intro/01_syntax/src/lib.rs
@@ -3,7 +3,7 @@
3
// partner in this course and it'll often guide you in the right direction!
4
//
5
// The input parameters should have the same type of the return type.
6
-fn compute(a, b) -> u32 {
+fn compute(a: u32, b: u32) -> u32 {
7
// Don't touch the function body.
8
a + b * 2
9
}
0 commit comments