RosettaCodeData/Task/String-append/Rust/string-append-2.rust
2023-07-01 13:44:08 -04:00

5 lines
117 B
Text

fn main(){
let mut hello = String::from("Hello world");
hello.push_str("!!!!");
println!("{}", hello);
}