|
99 | 99 | * `'ident`: named lifetime or loop label. See [Lifetimes], [Loops (Loops Labels)].
|
100 | 100 | * `…u8`, `…i32`, `…f64`, `…usize`, …: numeric literal of specific type.
|
101 | 101 | * `"…"`: string literal. See [Strings].
|
102 |
| -* `r"…"`, `r#"…"#`, `r##"…"##`, …: raw string literal. |
103 |
| -* `b"…"`: byte string literal. |
104 |
| -* `rb"…"`, `rb#"…"#`, `rb##"…"##`, …: raw byte string literal. |
| 102 | +* `r"…"`, `r#"…"#`, `r##"…"##`, …: raw string literal, escape characters are not processed. See [Reference (Raw String Literals)]. |
| 103 | +* `b"…"`: byte string literal, constructs a `[u8]` instead of a string. See [Reference (Byte String Literals)]. |
| 104 | +* `br"…"`, `br#"…"#`, `br##"…"##`, …: raw byte string literal, combination of raw and byte string literal. See [Reference (Raw Byte String Literals)]. |
105 | 105 | * `'…'`: character literal. See [Primitive Types (`char`)].
|
106 | 106 | * `b'…'`: ASCII byte literal.
|
107 | 107 |
|
|
217 | 217 | [Primitive Types (Tuple Indexing)]: primitive-types.html#tuple-indexing
|
218 | 218 | [Primitive Types (Tuples)]: primitive-types.html#tuples
|
219 | 219 | [Raw Pointers]: raw-pointers.html
|
| 220 | +[Reference (Byte String Literals)]: ../reference.html#byte-string-literals |
| 221 | +[Reference (Raw Byte String Literals)]: ../reference.html#raw-byte-string-literals |
| 222 | +[Reference (Raw String Literals)]: ../reference.html#raw-string-literals |
220 | 223 | [References and Borrowing]: references-and-borrowing.html
|
221 | 224 | [Strings]: strings.html
|
222 | 225 | [Structs (Update syntax)]: structs.html#update-syntax
|
|
0 commit comments