Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
bbabd514a55b5771ac1e7316078b382a92ec4755
/
.
/
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() { ... }