打破長字串文字

使用\字元打破常規字串文字

let a = "foobar";
let b = "foo\
         bar";

// `a` and `b` are equal.
assert_eq!(a,b);

將原始字串文字分隔為單獨的字串,並將它們與 concat! 巨集連線起來

let c = r"foo\bar";
let d = concat!(r"foo\", r"bar");

// `c` and `d` are equal.
assert_eq!(c, d);