pub fn double(x: i32) -> i32
Expand description

Returns double the value of given number.

Example

let arg = 5;
let ans = my_crate::double(arg);
 
asswert_eq!(10, ans);