Rust Program to find Square of a number

Program

fn main(){
    let x = 10;
    println!("Square of a number is: {}", square(x));
 }
 fn square(x: i8)->i8 {
    x*x
 }

Output

$ rustc FindSquareOfNumber.rs
$ ./FindSquareOfNumber 
Square of a number is: 100