RosettaCodeData/Task/Function-definition/Rust/function-definition.rs

4 lines
49 B
Rust

fn multiply(a: i32, b: i32) -> i32 {
a * b
}