We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 410ddf2 commit 9f21443Copy full SHA for 9f21443
axum/src/extract/path/mod.rs
@@ -754,8 +754,8 @@ mod tests {
754
struct Tuple(String, String);
755
756
let app = Router::new()
757
- .route("/foo/:a/:b/:c", get(|_: Path<(String, String)>| async {}))
758
- .route("/bar/:a/:b/:c", get(|_: Path<Tuple>| async {}));
+ .route("/foo/{a}/{b}/{c}", get(|_: Path<(String, String)>| async {}))
+ .route("/bar/{a}/{b}/{c}", get(|_: Path<Tuple>| async {}));
759
760
let client = TestClient::new(app);
761
0 commit comments