From 8d1a82f06304cac16bd1121bc85c67edda5b319c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Sat, 7 Sep 2024 18:26:19 +0100 Subject: [PATCH] chore: small Error reference change --- src/timer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timer.rs b/src/timer.rs index be393cd6..1d7abc21 100644 --- a/src/timer.rs +++ b/src/timer.rs @@ -185,7 +185,7 @@ impl StateComponent for Timer { Ok(cursor.into_inner()) } - fn set_state(&mut self, data: &[u8]) -> Result<(), boytacean_common::error::Error> { + fn set_state(&mut self, data: &[u8]) -> Result<(), Error> { let mut cursor = Cursor::new(data); self.div = read_u8(&mut cursor)?; self.tima = read_u8(&mut cursor)?; -- GitLab