From 435387c3b02d7fe0213cde2db88e874f7c7e2929 Mon Sep 17 00:00:00 2001 From: 0x009922 <43530070+0x009922@users.noreply.github.com> Date: Fri, 18 Oct 2024 09:35:06 +0900 Subject: [PATCH] chore: use `expect` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Marin Veršić Signed-off-by: 0x009922 <43530070+0x009922@users.noreply.github.com> --- crates/iroha_torii/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/iroha_torii/src/utils.rs b/crates/iroha_torii/src/utils.rs index 33b2ce6bf6..0e7d6126b7 100644 --- a/crates/iroha_torii/src/utils.rs +++ b/crates/iroha_torii/src/utils.rs @@ -64,7 +64,7 @@ pub mod extractors { } /// Extractor of Accept header - #[cfg_attr(not(feature = "telemetry"), allow(unused))] + #[cfg_attr(not(feature = "telemetry"), expect(unused))] pub struct ExtractAccept(pub HeaderValue); #[async_trait]