Guest User

Untitled

a guest
Mar 24th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. fn main() {
  2. let x = "here is a double quote: \x22 ";
  3. let y = r"this isn't a double quote: \x22, how do I show one?";
  4. let z = r#"Ah, here it is: ". But I want to show " + # but I can't "#;
  5. let w = r##"Sweet: "# "##;
  6.  
  7. println!("{}", x);
  8. println!("{}", y);
  9. println!("{}", z);
  10. println!("{}", w);
  11. }
Add Comment
Please, Sign In to add comment