mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-28 00:00:20 +02:00
docs: fix typo on EmptyRouter documentation (#204)
This commit is contained in:
+1
-1
@@ -523,7 +523,7 @@ fn insert_url_params<B>(req: &mut Request<B>, params: Vec<(String, String)>) {
|
|||||||
/// to all requests.
|
/// to all requests.
|
||||||
///
|
///
|
||||||
/// This is used as the bottom service in a router stack. You shouldn't have to
|
/// This is used as the bottom service in a router stack. You shouldn't have to
|
||||||
/// use to manually.
|
/// use it manually.
|
||||||
pub struct EmptyRouter<E = Infallible> {
|
pub struct EmptyRouter<E = Infallible> {
|
||||||
status: StatusCode,
|
status: StatusCode,
|
||||||
_marker: PhantomData<fn() -> E>,
|
_marker: PhantomData<fn() -> E>,
|
||||||
|
|||||||
Reference in New Issue
Block a user