forked from tokio-rs/axum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Per my comment in tokio-rs#1313, this improves discoverability of how `State` works with nested/merged `Router`s. I made a few other minor documentation fixes while I was reading: * 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
1 parent
2e3000f
commit 0649f62
Showing
3 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters