Update syntax tree definition

This commit is contained in:
Grisha Vartanyan 2022-03-23 23:07:39 +01:00
parent 38e0ae590c
commit b51f20eaf5
2 changed files with 3 additions and 3 deletions

View file

@ -1616,7 +1616,7 @@ pub enum StrStyle {
/// A raw string, like `r##"foo"##`. /// A raw string, like `r##"foo"##`.
/// ///
/// The value is the number of `#` symbols used. /// The value is the number of `#` symbols used.
Raw(u16), Raw(u8),
} }
/// An AST literal. /// An AST literal.

View file

@ -60,9 +60,9 @@ pub enum LitKind {
Integer, Integer,
Float, Float,
Str, Str,
StrRaw(u16), // raw string delimited by `n` hash symbols StrRaw(u8), // raw string delimited by `n` hash symbols
ByteStr, ByteStr,
ByteStrRaw(u16), // raw byte string delimited by `n` hash symbols ByteStrRaw(u8), // raw byte string delimited by `n` hash symbols
Err, Err,
} }