Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
a0138c6c08ae62df22eab7874fa666d7531aae10
/
.
/
examples
/
rust
/
default.rs
blob: 22790d250c8c21d5644eae0afae035311f2a9e5b [
file
] [
log
] [
blame
] [
raw
]
// Type your code here, or load an example.
pub
fn
square
(
num
:
i32
)
->
i32
{
num
*
num
}
// If you use `main()`, declare it as `pub` to see it in the output:
// pub fn main() { ... }