diff options
author | David Tolnay <dtolnay@gmail.com> | 2019-08-10 13:08:34 -0700 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2019-08-10 13:08:34 -0700 |
commit | 5a1a65ce6f93bfa47ff13ad39511d9760861458a (patch) | |
tree | b087f806776f9c78b09c38e91b2aa54d1ea41e7d | |
parent | 7d0f1bc413a4dfca0fb403afdc3fc7a825326868 (diff) | |
download | platform_external_rust_crates_quote-5a1a65ce6f93bfa47ff13ad39511d9760861458a.tar.gz platform_external_rust_crates_quote-5a1a65ce6f93bfa47ff13ad39511d9760861458a.tar.bz2 platform_external_rust_crates_quote-5a1a65ce6f93bfa47ff13ad39511d9760861458a.zip |
Make the description of formatting traits more recognizable
-rw-r--r-- | src/format.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/format.rs b/src/format.rs index 130484e..dd27428 100644 --- a/src/format.rs +++ b/src/format.rs @@ -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. /// |