daily pastebin goal
69%
SHARE
TWEET

[Rust] Concatenating a Rust string

cwchen Aug 26th, 2017 (edited) 112 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fn main() {
  2.     assert_eq!("Hello ".to_string() + "World", "Hello World");
  3. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top