Reduce NotFound's visibility (#579)

It is only used in the crate's `routing` module.
This commit is contained in:
david-perez
2021-11-30 12:37:51 +00:00
committed by GitHub
parent affab9b4ec
commit 0c3e4a6f3d
+1 -1
View File
@@ -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