Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct docs for Router::nest; other minor tweaks.
I was going to improve the discoverability of docs for how state works with `Router::merge` and `Router::nest` based on my comment in tokio-rs#1313, but tokio-rs#1532 removes `Router::inherit_state` so I discovered that the change I originally suggested isn't necessary anymore. I decided to make a few other minor documentation fixes while I was reading, however: * Corrected the docs for `Router::nest` to say that it nests another `Router` rather than a `Service`. There is a separate function (`Router::nest_service`) for the latter. * Changed one of the headings in nest.md to use more idiomatic English. * Changed awkward phrasing under the "Sharing state with handlers" heading of the root documentation page. * Removed a trailing period from one of three list items for consistency.
- Loading branch information