Skip to main content

plus_one

Function plus_one 

Source
pub fn plus_one(num: i32) -> i32
Expand description

Adds one to the number given.

ยงExamples

let five = 5;

assert_eq!(6, nafsy::plus_one(five));