mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 02:51:22 -06:00
5 lines
91 B
Rust
5 lines
91 B
Rust
// Type your code here, or load an example.
|
|
pub fn square(num: i32) -> i32 {
|
|
num * num
|
|
}
|