diff options
Diffstat (limited to 'evc/src/block.rs')
-rw-r--r-- | evc/src/block.rs | 10 |
1 files changed, 6 insertions, 4 deletions
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 +} |