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