RosettaCodeData/Task/String-append/Rust/string-append-2.rs
2024-10-16 18:07:41 -07:00

5 lines
117 B
Rust

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