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

6 lines
117 B
Text

use std::ops::Add;
fn main(){
let hello = String::from("Hello world");
println!("{}", hello.add("!!!!"));
}