RosettaCodeData/Task/String-append/Rust/string-append.rust
2017-09-25 22:28:19 +02:00

6 lines
117 B
Text

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