Skip to content

Commit

Permalink
Correct byte string literal type. Fixes #2631.
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed May 25, 2022
1 parent e1fef4b commit 8aacc9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/appendix-02-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ locations.
| `...u8`, `...i32`, `...f64`, `...usize`, etc. | Numeric literal of specific type |
| `"..."` | String literal |
| `r"..."`, `r#"..."#`, `r##"..."##`, etc. | Raw string literal, escape characters not processed |
| `b"..."` | Byte string literal; constructs a `[u8]` instead of a string |
| `b"..."` | Byte string literal; constructs an array of bytes instead of a string |
| `br"..."`, `br#"..."#`, `br##"..."##`, etc. | Raw byte string literal, combination of raw and byte string literal |
| `'...'` | Character literal |
| `b'...'` | ASCII byte literal |
Expand Down

0 comments on commit 8aacc9e

Please sign in to comment.