functions

This commit is contained in:
2026-01-08 07:36:21 +00:00
parent 36cbf9d865
commit 505ab3b606
5 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
// TODO: Fix the function body without changing the signature.
fn square(num: i32) -> i32 {
num * num;
num * num
}
fn main() {