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