Skip to content
Snippets Groups Projects
Verified Commit 8d1a82f0 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

chore: small Error reference change

parent 43d663fd
No related branches found
No related tags found
1 merge request!59`StateComponent` creation and implementation
Pipeline #5069 failed
......@@ -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)?;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment