mirror of
https://github.com/tokio-rs/axum.git
synced 2025-01-03 17:52:18 +01:00
Fix typo
This commit is contained in:
parent
37b9b3df48
commit
2e3000f1a3
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
Router::new().route(...).with_state(state);
|
Router::new().route(...).with_state(state);
|
||||||
```
|
```
|
||||||
|
|
||||||
- **breaking:**: `Router::inherit_fallback` has been removed. Use
|
- **breaking:**: `Router::inherit_state` has been removed. Use
|
||||||
`Router::with_state` instead ([#1532])
|
`Router::with_state` instead ([#1532])
|
||||||
- **breaking:**: `Router::nest` and `Router::merge` now only supports nesting
|
- **breaking:**: `Router::nest` and `Router::merge` now only supports nesting
|
||||||
routers that use the same state type as the router they're being merged into.
|
routers that use the same state type as the router they're being merged into.
|
||||||
|
|
Loading…
Reference in a new issue