chore: Upgrade matchit to 0.8 (#2645)

This commit is contained in:
David Mládek
2024-10-03 15:46:58 +00:00
committed by GitHub
parent 5db62e8452
commit 6318b57fda
46 changed files with 414 additions and 208 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ use serde::de::DeserializeOwned;
///
/// let app = Router::new()
/// .route("/blog", get(render_blog))
/// .route("/blog/:page", get(render_blog));
/// .route("/blog/{page}", get(render_blog));
/// # let app: Router = app;
/// ```
#[derive(Debug)]
@@ -75,7 +75,7 @@ mod tests {
let app = Router::new()
.route("/", get(handle))
.route("/:num", get(handle));
.route("/{num}", get(handle));
let client = TestClient::new(app);