Skip to content

Commit

Permalink
add #[allow(dead_code)], to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Hmikihiro committed Mar 23, 2024
1 parent debe19c commit 40d271b
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 @@ -64,6 +64,7 @@ pub(crate) trait ErasedIntoRoute<S, E>: Send {

fn into_route(self: Box<Self>, state: S) -> Route<E>;

#[allow(dead_code)]
fn call_with_state(self: Box<Self>, request: Request, state: S) -> RouteFuture<E>;
}

Expand Down

0 comments on commit 40d271b

Please sign in to comment.