Skip to content

Commit

Permalink
Mark MakeErasedHandler as unused for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
joeydewaal committed Jun 18, 2024
1 parent 43e8cc4 commit 2824c93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions axum/src/boxed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ pub(crate) trait ErasedIntoRoute<S, E>: Send {
fn call_with_state(self: Box<Self>, request: Request, state: S) -> RouteFuture<E>;
}

#[allow(dead_code)]
pub(crate) struct MakeErasedHandler<H, S> {
pub(crate) handler: H,
pub(crate) into_route: fn(H, S) -> Route,
Expand Down

0 comments on commit 2824c93

Please sign in to comment.