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

6 lines
117 B
Rust

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