[−][src]Function publishing_crates::add_one
pub fn add_one(x: i32) -> i32
Adds one to the number given.
Examples
The example code below will be tested too, with cargo test
let arg = 5; let answer = publishing_crates::add_one(arg); assert_eq!(6, answer);