mirror of
https://github.com/tokio-rs/axum.git
synced 2025-01-18 15:20:27 +01:00
Update routing layer documentation (#560)
This commit is contained in:
parent
6d0abd447c
commit
b5b0c0e491
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ async fn second_handler() {}
|
||||||
|
|
||||||
async fn third_handler() {}
|
async fn third_handler() {}
|
||||||
|
|
||||||
// All requests to `handler` and `other_handler` will be sent through
|
// All requests to `first_handler` and `second_handler` will be sent through
|
||||||
// `ConcurrencyLimit`
|
// `ConcurrencyLimit`
|
||||||
let app = Router::new().route("/", get(first_handler))
|
let app = Router::new().route("/", get(first_handler))
|
||||||
.route("/foo", get(second_handler))
|
.route("/foo", get(second_handler))
|
||||||
|
|
Loading…
Reference in a new issue