add_one

Function add_one 

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

Adds one to a number that is specified in the arguments

ยงExamples

let x = 5;
let y = crates_testing_bilal::add_one(x);
assert_eq!(y, 6);