just_try_to_publish_a_package

Function add_one

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

Adds one to the number given. Adds one to the number given.

ยงExamples

let arg = 5;
let answer = minigrep::add_one(arg);

assert_eq!(6, answer);