expressions to not include semicolons

This commit is contained in:
Hariettemaina 2022-09-09 15:12:34 +03:00
parent 741b313bd2
commit 25673f002f
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
// in the signatures for now. If anything, this is a good way to peek ahead
// to future exercises!)
// I AM NOT DONE
fn main() {
let original_price = 51;

View File

@ -9,5 +9,5 @@ fn main() {
}
fn square(num: i32) -> i32 {
num * num;
num * num
}