From e12573566e2d86146a8e2907743f4af3cae383bf Mon Sep 17 00:00:00 2001 From: liquidev Date: Sat, 7 Sep 2024 14:30:58 +0200 Subject: [PATCH] add Debug impl for InvalidId --- crates/rkgk/src/id.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/rkgk/src/id.rs b/crates/rkgk/src/id.rs index 29bc06c..9a054ff 100644 --- a/crates/rkgk/src/id.rs +++ b/crates/rkgk/src/id.rs @@ -12,6 +12,7 @@ pub fn serialize(f: &mut fmt::Formatter<'_>, prefix: &str, bytes: &[u8; 32]) -> Ok(()) } +#[derive(Debug)] pub struct InvalidId; pub fn deserialize(s: &str, prefix: &str) -> Result<[u8; 32], InvalidId> {