From 72819848e3fa82612157d6569a09226de0a4ea5a Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 21 Oct 2024 08:51:14 +0000 Subject: [PATCH] Upgrade matchit (#2997) --- axum/Cargo.toml | 2 +- axum/src/routing/tests/nest.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/axum/Cargo.toml b/axum/Cargo.toml index 8d4fc6c2..15a5f777 100644 --- a/axum/Cargo.toml +++ b/axum/Cargo.toml @@ -48,7 +48,7 @@ http = "1.0.0" http-body = "1.0.0" http-body-util = "0.1.0" itoa = "1.0.5" -matchit = "=0.8.0" +matchit = "=0.8.4" memchr = "2.4.1" mime = "0.3.16" percent-encoding = "2.1" diff --git a/axum/src/routing/tests/nest.rs b/axum/src/routing/tests/nest.rs index 1aa1dcd7..7067f21f 100644 --- a/axum/src/routing/tests/nest.rs +++ b/axum/src/routing/tests/nest.rs @@ -228,7 +228,7 @@ async fn nested_multiple_routes() { } #[test] -#[should_panic = "Invalid route \"/\": insertion failed due to conflict with previously registered route: /"] +#[should_panic = r#"Invalid route "/": Insertion failed due to conflict with previously registered route: /"#] fn nested_service_at_root_with_other_routes() { let _: Router = Router::new() .nest_service("/", Router::new().route("/users", get(|| async {})))