From 2824c932abe54f9a0d5aee878bc3d435601b7a18 Mon Sep 17 00:00:00 2001 From: Joey de Waal Date: Tue, 18 Jun 2024 17:31:01 +0200 Subject: [PATCH] Mark MakeErasedHandler as unused for CI --- axum/src/boxed.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/axum/src/boxed.rs b/axum/src/boxed.rs index f541a9fa308..325d2cfa7ee 100644 --- a/axum/src/boxed.rs +++ b/axum/src/boxed.rs @@ -68,6 +68,7 @@ pub(crate) trait ErasedIntoRoute: Send { fn call_with_state(self: Box, request: Request, state: S) -> RouteFuture; } +#[allow(dead_code)] pub(crate) struct MakeErasedHandler { pub(crate) handler: H, pub(crate) into_route: fn(H, S) -> Route,