dan_fritchman_rust_lang_book_crates

Function add_one

Source
pub fn add_one(x: i32) -> i32
Expand description

Add one

§Panics

None

§Errors

None

§Examples

assert_eq!(6,crates::add_one(5))