Des exemples de code pour programmer en Rust
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ex3_3.rs 133 B

1 year ago
123456
  1. fn main(){
  2. let x = "hello".to_string() ;
  3. let y = String::from("hello") ;
  4. let z :&str = "hello" ;
  5. print! ("{} {} {}\n", x, y, z) ;
  6. }