Function sam_graphQL::add_one

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

Adds one to the number given.

§Examples

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

assert_eq!(6, answer);