From c4b62cc238e0b535cfe657d6a10aaf3ff04c75e0 Mon Sep 17 00:00:00 2001 From: occheung Date: Mon, 18 Jan 2021 15:33:03 +0800 Subject: [PATCH] lib: derive debug for error for unwrapping --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 63b47a1..af883e9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -29,6 +29,7 @@ pub trait EthController { } /// TODO: Improve these error types +#[derive(Debug)] pub enum EthControllerError { SpiPortError, GeneralError,