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 {
18141814 /// A byte string (`b"foo"`). Not stored as a symbol because it might be
18151815 /// non-utf8, and symbols only allow utf8 strings.
18161816 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.
18181818 CStr ( Lrc < [ u8 ] > , StrStyle ) ,
18191819 /// A byte char (`b'f'`).
18201820 Byte ( u8 ) ,
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ pub enum LiteralKind {
194194 /// "br"abc"", "br#"abc"#", "br####"ab"###"c"####", "br#"a". `None`
195195 /// indicates an invalid literal.
196196 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 .
198198 RawCStr { n_hashes : Option < u8 > } ,
199199}
200200
You can’t perform that action at this time.
0 commit comments