Function p_documenting::add_one [−][src]
pub fn add_one(x: i32) -> i32
Expand description
Adds one to the number given.
Examples
let arg = 5;
let answer = my_crate::add_one(arg);
assert_eq!(6, answer);
pub fn add_one(x: i32) -> i32
Adds one to the number given.
let arg = 5;
let answer = my_crate::add_one(arg);
assert_eq!(6, answer);