address comments
This commit is contained in:
parent
4c01d494b8
commit
78e3455d37
2 changed files with 2 additions and 2 deletions
|
@ -1814,7 +1814,7 @@ pub enum LitKind {
|
||||||
/// A byte string (`b"foo"`). Not stored as a symbol because it might be
|
/// A byte string (`b"foo"`). Not stored as a symbol because it might be
|
||||||
/// non-utf8, and symbols only allow utf8 strings.
|
/// non-utf8, and symbols only allow utf8 strings.
|
||||||
ByteStr(Lrc<[u8]>, StrStyle),
|
ByteStr(Lrc<[u8]>, StrStyle),
|
||||||
/// A C String (`c"foo"`). Guaranteed only have `\0` in the end.
|
/// A C String (`c"foo"`). Guaranteed to only have `\0` at the end.
|
||||||
CStr(Lrc<[u8]>, StrStyle),
|
CStr(Lrc<[u8]>, StrStyle),
|
||||||
/// A byte char (`b'f'`).
|
/// A byte char (`b'f'`).
|
||||||
Byte(u8),
|
Byte(u8),
|
||||||
|
|
|
@ -194,7 +194,7 @@ pub enum LiteralKind {
|
||||||
/// "br"abc"", "br#"abc"#", "br####"ab"###"c"####", "br#"a". `None`
|
/// "br"abc"", "br#"abc"#", "br####"ab"###"c"####", "br#"a". `None`
|
||||||
/// indicates an invalid literal.
|
/// indicates an invalid literal.
|
||||||
RawByteStr { n_hashes: Option<u8> },
|
RawByteStr { n_hashes: Option<u8> },
|
||||||
/// `cr"abc"`, "cr#"abc"#", `cr#"a`. `None` is invalid.
|
/// `cr"abc"`, "cr#"abc"#", `cr#"a`. `None` indicates an invalid literal.
|
||||||
RawCStr { n_hashes: Option<u8> },
|
RawCStr { n_hashes: Option<u8> },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue