update Literal
's intro
This commit is contained in:
parent
8dd5cd0bc1
commit
30ff4006e1
@ -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
|
/// character (`'a'`), byte character (`b'a'`), an integer or floating point number
|
||||||
/// with or without a suffix (`1`, `1u8`, `2.3`, `2.3f32`).
|
/// 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.
|
/// Boolean literals like `true` and `false` do not belong here, they are `Ident`s.
|
||||||
|
Loading…
Reference in New Issue
Block a user