diff --git a/src/ser.rs b/src/ser.rs index bcf11d4ac..dbdec8543 100644 --- a/src/ser.rs +++ b/src/ser.rs @@ -198,7 +198,7 @@ where .formatter .begin_array_value(&mut self.writer, first) .map_err(Error::io)); - tri!(byte.serialize(&mut *self)); + tri!(self.serialize_u8(*byte)); tri!(self .formatter .end_array_value(&mut self.writer)