mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05: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
|
|
}
|