docs: fix typo on EmptyRouter documentation (#204)

This commit is contained in:
Eduardo Canellas 2021-08-18 15:30:39 -03:00 committed by GitHub
parent 5368e33f99
commit 2d6b5dd0b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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>,