Function documentation::my_crate::arith_container::increment
source · pub fn increment(x: i32) -> i32
Expand description
Increments the given value by 1.
Example
arg
any i32 instance
let arg = 5;
let answer = my_crate::increment(arg);
assert_eq!(6, answer);