mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-21 00:00:14 +02:00
Reduce NotFound's visibility (#579)
It is only used in the crate's `routing` module.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user