Skip to content

Commit 29a3522

Browse files
committed
01_intro/01_syntax
1 parent 868bc46 commit 29a3522

File tree

1 file changed

+1
-1
lines changed
  • exercises/01_intro/01_syntax/src

1 file changed

+1
-1
lines changed

exercises/01_intro/01_syntax/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// partner in this course and it'll often guide you in the right direction!
44
//
55
// The input parameters should have the same type of the return type.
6-
fn compute(a, b) -> u32 {
6+
fn compute(a: u32, b: u32) -> u32 {
77
// Don't touch the function body.
88
a + b * 2
99
}

0 commit comments

Comments
 (0)