Skip to content
This repository was archived by the owner on Aug 15, 2021. It is now read-only.

Commit f5c7079

Browse files
committed
Appease rustfmt
1 parent 18d3ab9 commit f5c7079

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/ser.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,14 @@ where
183183
if len <= 8 {
184184
self.write_u64(tag - 2, value as u64)
185185
} else {
186-
self.writer.write_all(&[6 << 5 | tag, 2 << 5 | len as u8]).map_err(|e| e.into())?;
186+
self.writer
187+
.write_all(&[6 << 5 | tag, 2 << 5 | len as u8])
188+
.map_err(|e| e.into())?;
187189
let mut buf = [0u8; 16];
188190
BigEndian::write_u128(&mut buf, value);
189-
self.writer.write_all(&buf[(16 - len) as usize..]).map_err(|e| e.into())
191+
self.writer
192+
.write_all(&buf[(16 - len) as usize..])
193+
.map_err(|e| e.into())
190194
}
191195
}
192196

0 commit comments

Comments
 (0)