RosettaCodeData/Task/String-append/Rust/string-append-1.rust

7 lines
117 B
Text
Raw Permalink Normal View History

2017-09-23 10:01:46 +02:00
use std::ops::Add;
fn main(){
let hello = String::from("Hello world");
println!("{}", hello.add("!!!!"));
}