From 4b12b320d48abf90a6f524a226604ad738e5684f Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 5 Dec 2022 22:27:49 +0100 Subject: even more code --- evc/src/block.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'evc/src/block.rs') diff --git a/evc/src/block.rs b/evc/src/block.rs index 8d98d55..05ff56d 100644 --- a/evc/src/block.rs +++ b/evc/src/block.rs @@ -1,5 +1,7 @@ -use crate::{ser::{Ser, Sink, Source}, pixel::Pixel}; - +use crate::{ + pixel::Pixel, + ser::{Ser, Sink, Source}, +}; #[derive(Clone, Debug)] pub struct Block { @@ -26,7 +28,7 @@ impl Block { a.write(sink)?; b.write(sink)?; } - BlockInner::Reference { translation } => { + BlockInner::Reference { translation: _ } => { sink.put(2u8)?; } } @@ -50,4 +52,4 @@ impl Block { Ok(Self { size, inner }) } -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2