blob: 22790d250c8c21d5644eae0afae035311f2a9e5b [file] [log] [blame] [raw]
RabsRincon43279a62017-12-09 11:19:45 +01001// Type your code here, or load an example.
2pub fn square(num: i32) -> i32 {
RabsRincon2e219a22018-03-28 22:23:06 +02003 num * num
RabsRincon43279a62017-12-09 11:19:45 +01004}
Patrick Quistce648882021-03-11 17:30:03 +01005
6// If you use `main()`, declare it as `pub` to see it in the output:
7// pub fn main() { ... }