mirror of
https://github.com/tokio-rs/axum.git
synced 2025-01-01 00:50:32 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue