Update out of date Router::nest docs (#1328)

This commit is contained in:
David Pedersen 2022-08-25 23:35:38 +02:00 committed by GitHub
parent 6d7c277700
commit eaabdb3973
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,8 +146,6 @@ let app = Router::new()
for more details.
- If the route contains a wildcard (`*`).
- If `path` is empty.
- If the nested router has a [fallback](Router::fallback). This is because
`Router` only allows a single fallback.
[`OriginalUri`]: crate::extract::OriginalUri
[fallbacks]: Router::fallback