diff --git a/src/statestream.rs b/src/statestream.rs index e2bc1f4..80e8a90 100644 --- a/src/statestream.rs +++ b/src/statestream.rs @@ -250,6 +250,7 @@ impl<'w, 'c, W: std::io::Write> Encoder<'w, 'c, W> { pub(crate) fn new(writer: &'w mut W, ctx: &'c mut Ctx) -> Self { Self { writer, ctx } } + #[allow(clippy::too_many_lines)] pub fn encode_checkpoint(mut self, checkpoint: &[u8], frame: u64) -> std::io::Result { use rmp::encode as r; let stopwatch = clock::time(Timer::EncodeStatestream);