Example
Area
area.nr5 lines
area.nrneuro
// A child of the `shapes` directory module, reached as `shapes::area`.
export func rectangle(width: i32, height: i32) -> i32 {
width * height
}
Loading...
Example
area.nr5 lines
// A child of the `shapes` directory module, reached as `shapes::area`.
export func rectangle(width: i32, height: i32) -> i32 {
width * height
}