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