From 2c6a0bc7be610fffd076ae08a42e76a98dc0f599 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Wed, 20 May 2026 16:33:44 -0400 Subject: [PATCH] style(http2): allow large_enum_variant --- Cargo.toml | 1 - src/proto/h2/server.rs | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a68b7edca8..a76283cfe9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -132,7 +132,6 @@ ignored_unit_patterns = "allow" indexing_slicing = "allow" integer_division = "allow" integer_division_remainder_used = "allow" -large_enum_variant = "allow" let_unit_value = "allow" manual_assert_eq = "allow" # TODO: easy fix map_err_ignore = "allow" diff --git a/src/proto/h2/server.rs b/src/proto/h2/server.rs index 6180ce8f80..30803643c8 100644 --- a/src/proto/h2/server.rs +++ b/src/proto/h2/server.rs @@ -94,6 +94,8 @@ pin_project! { } } +//#[expect(clippy::large_enum_variant, reason = "the whole future is boxed")] +#[allow(clippy::large_enum_variant)] enum State where B: Body,