mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-20 00:00:11 +02:00
Update routing layer documentation (#560)
This commit is contained in:
@@ -27,7 +27,7 @@ async fn second_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`
|
||||
let app = Router::new().route("/", get(first_handler))
|
||||
.route("/foo", get(second_handler))
|
||||
|
||||
Reference in New Issue
Block a user