Skip to content

Commit 6ad5495

Browse files
committed
Inline u8::serialize into serialize_bytes
1 parent 44b4a6c commit 6ad5495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ser.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ where
198198
.formatter
199199
.begin_array_value(&mut self.writer, first)
200200
.map_err(Error::io));
201-
tri!(byte.serialize(&mut *self));
201+
tri!(self.serialize_u8(*byte));
202202
tri!(self
203203
.formatter
204204
.end_array_value(&mut self.writer)

0 commit comments

Comments
 (0)