From 47487f0be784b99957b7d06e52e4a9d153b69ac0 Mon Sep 17 00:00:00 2001 From: Al Liu Date: Thu, 21 Mar 2024 23:46:16 +0800 Subject: [PATCH] Fix clippy (#620) --- nomos-core/src/vote/mock.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nomos-core/src/vote/mock.rs b/nomos-core/src/vote/mock.rs index 53b5d9f9..a6fa33d5 100644 --- a/nomos-core/src/vote/mock.rs +++ b/nomos-core/src/vote/mock.rs @@ -23,6 +23,8 @@ pub struct MockQc { count_votes: usize, } +#[derive(Debug, thiserror::Error)] +#[error("{0}")] pub struct Error(String); #[derive(Clone, Debug)]