Update routing layer documentation (#560)

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