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