From 7525f651bc920e483d670f531b29f59eecec96d8 Mon Sep 17 00:00:00 2001 From: Carter Himmel Date: Wed, 17 Apr 2024 09:01:54 -0600 Subject: [PATCH] fix: image impls --- src/gif.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gif.rs b/src/gif.rs index aef9e54..74f09b4 100644 --- a/src/gif.rs +++ b/src/gif.rs @@ -1,4 +1,4 @@ -use std::io::Read; +use std::io::{BufRead, Seek}; use image::{codecs::gif::GifDecoder, AnimationDecoder}; @@ -28,7 +28,7 @@ pub struct GifParser<'a> { } impl<'a> GifParser<'a> { - pub fn new(gif: GifDecoder, model: &'a Model) -> Self { + pub fn new(gif: GifDecoder, model: &'a Model) -> Self { let frames = gif.into_frames(); Self { frames, model }