docs: fix typo on EmptyRouter documentation (#204)

This commit is contained in:
Eduardo Canellas
2021-08-18 20:30:39 +02:00
committed by GitHub
parent 5368e33f99
commit 2d6b5dd0b8
+1 -1
View File
@@ -523,7 +523,7 @@ fn insert_url_params<B>(req: &mut Request<B>, params: Vec<(String, String)>) {
/// to all requests.
///
/// 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> {
status: StatusCode,
_marker: PhantomData<fn() -> E>,