1
0
Fork 0
mirror of https://github.com/tokio-rs/axum.git synced 2025-03-20 22:18:51 +01:00

Update routing layer documentation ()

This commit is contained in:
John Teske 2021-11-23 22:57:29 -08:00 committed by GitHub
parent 6d0abd447c
commit b5b0c0e491
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))