[][src]Function mrust::plus_one

pub fn plus_one(num: i32) -> i32

Adds one to the number given.

Examples

let five = 5;

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