Update syntax tree definition
This commit is contained in:
parent
38e0ae590c
commit
b51f20eaf5
2 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||||
|
|
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue