mirror of
https://github.com/tokio-rs/axum.git
synced 2025-03-21 22:48:51 +01:00
Make MethodNotAllowed
public (#436)
Not sure why this wasn't caught by `#![deny(unreachable_pub, private_in_public)]`
This commit is contained in:
parent
857ecd7314
commit
2b8494a576
1 changed files with 4 additions and 2 deletions
|
@ -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::{
|
||||
|
|
Loading…
Add table
Reference in a new issue