From e7ac5d44da3ee13859ace440cdee04fa8dae5fa1 Mon Sep 17 00:00:00 2001 From: Harrison Burt <57491488+ChillFish8@users.noreply.github.com> Date: Sun, 4 Jul 2021 19:14:34 +0100 Subject: [PATCH] correct error --- src/image.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image.rs b/src/image.rs index e9b8e76..2c3a4cf 100644 --- a/src/image.rs +++ b/src/image.rs @@ -63,7 +63,7 @@ macro_rules! convert { || -> anyhow::Result { let buff = BytesMut::new(); let mut writer = buff.writer(); - let start = Instant::now; + let start = Instant::now(); $e.write_to(&mut writer, $d)?; debug!("format {:?} conversion took {:?}", $d, start.elapsed()); Ok(writer.into_inner())