diff --git a/src/libcore/rt/io/extensions.rs b/src/libcore/rt/io/extensions.rs index a3804d2d6ef..ceff2ecd77d 100644 --- a/src/libcore/rt/io/extensions.rs +++ b/src/libcore/rt/io/extensions.rs @@ -572,11 +572,11 @@ impl WriterByteConversions for T { } fn write_u8(&mut self, n: u8) { - self.write([n]) + self.write([n]) } fn write_i8(&mut self, n: i8) { - self.write([n as u8]) + self.write([n as u8]) } }