Configure formmater to skip read_compact_size

This commit is contained in:
Tobin C. Harding 2024-10-10 10:39:36 +11:00
parent 78bcca71ca
commit 2c40b4f4ec
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 0 deletions

View File

@ -323,6 +323,7 @@ impl<R: Read + ?Sized> ReadExt for R {
self.read_exact(slice).map_err(Error::Io)
}
#[inline]
#[rustfmt::skip] // Formatter munges code comments below.
fn read_compact_size(&mut self) -> Result<u64, Error> {
match self.read_u8()? {
0xFF => {