File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1814,7 +1814,7 @@ pub enum LitKind {
1814
1814
/// A byte string (`b"foo"`). Not stored as a symbol because it might be
1815
1815
/// non-utf8, and symbols only allow utf8 strings.
1816
1816
ByteStr ( Lrc < [ u8 ] > , StrStyle ) ,
1817
- /// A C String (`c"foo"`). Guaranteed only have `\0` in the end.
1817
+ /// A C String (`c"foo"`). Guaranteed to only have `\0` at the end.
1818
1818
CStr ( Lrc < [ u8 ] > , StrStyle ) ,
1819
1819
/// A byte char (`b'f'`).
1820
1820
Byte ( u8 ) ,
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ pub enum LiteralKind {
194
194
/// "br"abc"", "br#"abc"#", "br####"ab"###"c"####", "br#"a". `None`
195
195
/// indicates an invalid literal.
196
196
RawByteStr { n_hashes : Option < u8 > } ,
197
- /// `cr"abc"`, "cr#"abc"#", `cr#"a`. `None` is invalid.
197
+ /// `cr"abc"`, "cr#"abc"#", `cr#"a`. `None` indicates an invalid literal .
198
198
RawCStr { n_hashes : Option < u8 > } ,
199
199
}
200
200
You can’t perform that action at this time.
0 commit comments