diff --git a/src/lib.rs b/src/lib.rs index 629cf646..b0d353b1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -114,7 +114,10 @@ impl fmt::Display for EventName { } #[derive(Debug)] -pub struct WebhookError(anyhow::Error); +pub struct WebhookError( + #[allow(dead_code)] // Used in debug display + anyhow::Error, +); impl From for WebhookError { fn from(e: anyhow::Error) -> WebhookError {