Make MethodNotAllowed public (#436)

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
+4 -2
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::{