add_two

Function add_two 

Source
pub fn add_two(a: i32) -> i32
Expand description

Adds 2 to the number given.__rust_force_expr!

ยงExamples

let arg = 5;
let answer = adder::add_two(arg);

assert_eq!(7,answer);