Function documentation::my_crate::arith_container::square
source · pub fn square(x: i32) -> i32
Expand description
Returns Square value of the given number.
Example
let arg = 5;
let ans = my_crate::square(arg);
asswert_eq!(25, ans);