Fix path route in extractor docs (#711)

This commit is contained in:
Aaron Erhardt
2022-02-22 13:33:10 +01:00
committed by David Pedersen
parent d3357ad94a
commit 340948c337
+1 -1
View File
@@ -82,7 +82,7 @@ async fn extension(Extension(state): Extension<State>) {}
struct State { /* ... */ }
let app = Router::new()
.route("/path", post(path))
.route("/path/:user_id", post(path))
.route("/query", post(query))
.route("/user_agent", post(user_agent))
.route("/headers", post(headers))