1
0
Fork 0
mirror of https://github.com/tokio-rs/axum.git synced 2025-03-21 22:48:51 +01:00

Make MethodNotAllowed public ()

Not sure why this wasn't caught by `#![deny(unreachable_pub, private_in_public)]`
This commit is contained in:
David Pedersen 2021-10-31 20:57:32 +01:00 committed by GitHub
parent 857ecd7314
commit 2b8494a576
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,8 +37,10 @@ mod not_found;
mod route;
mod strip_prefix;
pub(crate) use self::method_not_allowed::MethodNotAllowed;
pub use self::{into_make_service::IntoMakeService, method_filter::MethodFilter, route::Route};
pub use self::{
into_make_service::IntoMakeService, method_filter::MethodFilter,
method_not_allowed::MethodNotAllowed, route::Route,
};
#[doc(no_inline)]
pub use self::handler_method_router::{