update and add a few tests
This commit is contained in:
parent
8ff3903643
commit
76d1f93896
11 changed files with 48 additions and 3 deletions
|
@ -1814,7 +1814,7 @@ pub enum LitKind {
|
|||
/// A byte string (`b"foo"`). Not stored as a symbol because it might be
|
||||
/// non-utf8, and symbols only allow utf8 strings.
|
||||
ByteStr(Lrc<[u8]>, StrStyle),
|
||||
/// A C String (`c"foo"`).
|
||||
/// A C String (`c"foo"`). Guaranteed only have `\0` in the end.
|
||||
CStr(Lrc<[u8]>, StrStyle),
|
||||
/// A byte char (`b'f'`).
|
||||
Byte(u8),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue