Rollup merge of #131105 - slanterns:literal_c_str, r=petrochenkov
update `Literal`'s intro Just something missd when adding c_str to it.
This commit is contained in:
commit
5bad4e9cae
@ -1166,7 +1166,7 @@ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
}
|
||||
}
|
||||
|
||||
/// A literal string (`"hello"`), byte string (`b"hello"`),
|
||||
/// A literal string (`"hello"`), byte string (`b"hello"`), C string (`c"hello"`),
|
||||
/// character (`'a'`), byte character (`b'a'`), an integer or floating point number
|
||||
/// with or without a suffix (`1`, `1u8`, `2.3`, `2.3f32`).
|
||||
/// Boolean literals like `true` and `false` do not belong here, they are `Ident`s.
|
||||
|
Loading…
Reference in New Issue
Block a user