File tree 1 file changed +14
-14
lines changed
1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -134,20 +134,20 @@ actually requesting that an argument ascribes to a particular trait. This allows
134
134
multiple actual types to be formatted via `{:d}` (like `i8` as well as `int`).
135
135
The current mapping of types to traits is:
136
136
137
- * `?` => Poly
138
- * `d` => Signed
139
- * `i` => Signed
140
- * `u` => Unsigned
141
- * `b` => Bool
142
- * `c` => Char
143
- * `o` => Octal
144
- * `x` => LowerHex
145
- * `X` => UpperHex
146
- * `s` => String
147
- * `p` => Pointer
148
- * `t` => Binary
149
- * `f` => Float
150
- * `` ( nothing) => Default
137
+ * `?` ⇒ ` Poly`
138
+ * `d` ⇒ ` Signed`
139
+ * `i` ⇒ ` Signed`
140
+ * `u` ⇒ ` Unsigned`
141
+ * `b` ⇒ ` Bool`
142
+ * `c` ⇒ ` Char`
143
+ * `o` ⇒ ` Octal`
144
+ * `x` ⇒ ` LowerHex`
145
+ * `X` ⇒ ` UpperHex`
146
+ * `s` ⇒ ` String`
147
+ * `p` ⇒ ` Pointer`
148
+ * `t` ⇒ ` Binary`
149
+ * `f` ⇒ ` Float`
150
+ * * nothing* ⇒ ` Default`
151
151
152
152
What this means is that any type of argument which implements the
153
153
`std::fmt::Binary` trait can then be formatted with `{:t}`. Implementations are
You can’t perform that action at this time.
0 commit comments