SHARE
TWEET

Untitled

a guest Aug 19th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fn main() {
  2.     let a = String::from("I 💖 the world!");
  3.     println!("{0}", a);
  4.     demo(&a);
  5.     println!("Yes, {0}", a);
  6. }
  7.  
  8. fn demo(name: &str) {
  9.     println!("Really, {0} ?", name);
  10. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top