Update syntax tree definition
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user