From 759b20da87b65d45b552adc75dd418e89b201261 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Sat, 19 Oct 2013 23:07:18 +1100 Subject: [PATCH] std::fmt: fix markdown peculiarity, unicodify some arrows, ` some trait names. --- src/libstd/fmt/mod.rs | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/libstd/fmt/mod.rs b/src/libstd/fmt/mod.rs index 20fc44169d0..3223ca9a731 100644 --- a/src/libstd/fmt/mod.rs +++ b/src/libstd/fmt/mod.rs @@ -134,20 +134,20 @@ actually requesting that an argument ascribes to a particular trait. This allows multiple actual types to be formatted via `{:d}` (like `i8` as well as `int`). The current mapping of types to traits is: -* `?` => Poly -* `d` => Signed -* `i` => Signed -* `u` => Unsigned -* `b` => Bool -* `c` => Char -* `o` => Octal -* `x` => LowerHex -* `X` => UpperHex -* `s` => String -* `p` => Pointer -* `t` => Binary -* `f` => Float -* `` (nothing) => Default +* `?` ⇒ `Poly` +* `d` ⇒ `Signed` +* `i` ⇒ `Signed` +* `u` ⇒ `Unsigned` +* `b` ⇒ `Bool` +* `c` ⇒ `Char` +* `o` ⇒ `Octal` +* `x` ⇒ `LowerHex` +* `X` ⇒ `UpperHex` +* `s` ⇒ `String` +* `p` ⇒ `Pointer` +* `t` ⇒ `Binary` +* `f` ⇒ `Float` +* *nothing* ⇒ `Default` What this means is that any type of argument which implements the `std::fmt::Binary` trait can then be formatted with `{:t}`. Implementations are