Advertisement
cwchen

[Rust] Concatenating a Rust string

Aug 26th, 2017
729
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rust 0.08 KB | None | 0 0
  1. fn main() {
  2.     assert_eq!("Hello ".to_string() + "World", "Hello World");
  3. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement