MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / multiply

Function multiply

00_hello_world/rust/syntax.rs:4–12  ·  view source on GitHub ↗

docstring for module docstring for function

(x: i64, y: i64)

Source from the content-addressed store, hash-verified

2
3/// docstring for function
4fn multiply(x: i64, y: i64) -> i64 {
5
6 // one line comment
7 x * y
8 /* multiline comment explaining
9 * that for returning a value
10 * an expression as last line is enough
11 */
12}
13
14
15fn main() {

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected