mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-30 22:41:03 +00:00
Fix NotFound
docs (#431)
This commit is contained in:
parent
2d1635a6d7
commit
21e5b654ab
@ -7,7 +7,7 @@ use std::{
|
|||||||
};
|
};
|
||||||
use tower_service::Service;
|
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
|
/// This is used as the bottom service in a method router. You shouldn't have to
|
||||||
/// use it manually.
|
/// use it manually.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user