Fixes impls for Format.
@@ -159,12 +159,12 @@ impl Format for Str {
}
impl Format for char {
- fn format(&self, fmt: &mut Formatter) {
- if fmt.needs_tag() {
+ fn format(&self, fmt: Formatter) {
+ if fmt.inner.needs_tag() {
let t = internp!("{:char}");
- fmt.u8(&t);
+ fmt.inner.u8(&t);
}
- fmt.u32(&(*self as u32));
+ fmt.inner.u32(&(*self as u32));
}
}
