Rollup merge of #131105 - slanterns:literal_c_str, r=petrochenkov · qinheping/verify-rust-std@65049d1 (original) (raw)
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1166,7 +1166,7 @@ impl fmt::Debug for Ident { | ||
1166 | 1166 | } |
1167 | 1167 | } |
1168 | 1168 | |
1169 | -/// A literal string (`"hello"`), byte string (`b"hello"`), | |
1169 | +/// A literal string (`"hello"`), byte string (`b"hello"`), C string (`c"hello"`), | |
1170 | 1170 | /// character (`'a'`), byte character (`b'a'`), an integer or floating point number |
1171 | 1171 | /// with or without a suffix (`1`, `1u8`, `2.3`, `2.3f32`). |
1172 | 1172 | /// Boolean literals like `true` and `false` do not belong here, they are `Ident`s. |