Remove extra indirection in LitKind::ByteStr
This commit is contained in:
parent
4ccf5f731b
commit
5ab19676ed
4 changed files with 5 additions and 8 deletions
|
@ -1606,7 +1606,7 @@ pub enum LitKind {
|
|||
/// A string literal (`"foo"`).
|
||||
Str(Symbol, StrStyle),
|
||||
/// A byte string (`b"foo"`).
|
||||
ByteStr(Lrc<Vec<u8>>),
|
||||
ByteStr(Lrc<[u8]>),
|
||||
/// A byte char (`b'f'`).
|
||||
Byte(u8),
|
||||
/// A character literal (`'a'`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue