From 8d116746d9ef85d014389bab83f46eda9d0aaad1 Mon Sep 17 00:00:00 2001 From: dswij Date: Sun, 7 Jan 2024 02:32:05 +0800 Subject: [PATCH] allow dead code --- src/error.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/error.rs b/src/error.rs index eb2b2acb..96a471bc 100644 --- a/src/error.rs +++ b/src/error.rs @@ -25,6 +25,7 @@ pub struct Error { #[derive(Debug)] enum Kind { /// A RST_STREAM frame was received or sent. + #[allow(dead_code)] Reset(StreamId, Reason, Initiator), /// A GO_AWAY frame was received or sent.