mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-28 21:40:55 +00:00
Reduce NotFound
's visibility (#579)
It is only used in the crate's `routing` module.
This commit is contained in:
parent
affab9b4ec
commit
0c3e4a6f3d
@ -12,7 +12,7 @@ use tower_service::Service;
|
||||
/// This is used as the bottom service in a method router. You shouldn't have to
|
||||
/// use it manually.
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
pub(crate) struct NotFound;
|
||||
pub(super) struct NotFound;
|
||||
|
||||
impl<B> Service<Request<B>> for NotFound
|
||||
where
|
||||
|
Loading…
x
Reference in New Issue
Block a user