Configure formmater to skip read_compact_size
This commit is contained in:
parent
78bcca71ca
commit
2c40b4f4ec
|
@ -323,6 +323,7 @@ impl<R: Read + ?Sized> ReadExt for R {
|
||||||
self.read_exact(slice).map_err(Error::Io)
|
self.read_exact(slice).map_err(Error::Io)
|
||||||
}
|
}
|
||||||
#[inline]
|
#[inline]
|
||||||
|
#[rustfmt::skip] // Formatter munges code comments below.
|
||||||
fn read_compact_size(&mut self) -> Result<u64, Error> {
|
fn read_compact_size(&mut self) -> Result<u64, Error> {
|
||||||
match self.read_u8()? {
|
match self.read_u8()? {
|
||||||
0xFF => {
|
0xFF => {
|
||||||
|
|
Loading…
Reference in New Issue