create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| a = {} | |
| # add a key-value pair | |
| a['name'] = 'ishan' | |
| # lets see whats in there | |
| print(a) | |
| # {'name': 'ishan'} | |
| # add more key-value pairs |
| //function pointer | |
| fn foo(x: i32) -> i32 { | |
| return x+1; | |
| } | |
| fn main() { | |
| let mut x: fn(i32) -> i32 = foo; | |
| // or x = foo; | |
| println!("{}", x(10)); |