Fix NotFound docs (#431)

This commit is contained in:
david-perez 2021-10-28 18:41:52 +02:00 committed by GitHub
parent 2d1635a6d7
commit 21e5b654ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ use std::{
};
use tower_service::Service;
/// A [`Service`] that responds with `405 Method not allowed` to all requests.
/// A [`Service`] that responds with `404 Not Found` to all requests.
///
/// This is used as the bottom service in a method router. You shouldn't have to
/// use it manually.