mirror of
https://gitee.com/openharmony/third_party_rust_quote
synced 2024-11-23 07:10:01 +00:00
Make the description of formatting traits more recognizable
This commit is contained in:
parent
7d0f1bc413
commit
5a1a65ce6f
@ -10,11 +10,11 @@
|
||||
/// Only a limited set of formatting traits are supported. The current mapping
|
||||
/// of format types to traits is:
|
||||
///
|
||||
/// * *nothing* ⇒ [`IdentFragment`]
|
||||
/// * `o` ⇒ [`Octal`](`std::fmt::Octal`)
|
||||
/// * `x` ⇒ [`LowerHex`](`std::fmt::LowerHex`)
|
||||
/// * `X` ⇒ [`UpperHex`](`std::fmt::UpperHex`)
|
||||
/// * `b` ⇒ [`Binary`](`std::fmt::Binary`)
|
||||
/// * `{}` ⇒ [`IdentFragment`]
|
||||
/// * `{:o}` ⇒ [`Octal`](`std::fmt::Octal`)
|
||||
/// * `{:x}` ⇒ [`LowerHex`](`std::fmt::LowerHex`)
|
||||
/// * `{:X}` ⇒ [`UpperHex`](`std::fmt::UpperHex`)
|
||||
/// * `{:b}` ⇒ [`Binary`](`std::fmt::Binary`)
|
||||
///
|
||||
/// See [`std::fmt`] for more information.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user