Skip to content

Commit a34b73e

Browse files
committed
Upgrade matchit
1 parent 89fec69 commit a34b73e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

axum/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ http = "1.0.0"
4848
http-body = "1.0.0"
4949
http-body-util = "0.1.0"
5050
itoa = "1.0.5"
51-
matchit = "=0.8.0"
51+
matchit = "0.8.4"
5252
memchr = "2.4.1"
5353
mime = "0.3.16"
5454
percent-encoding = "2.1"

axum/src/routing/tests/nest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ async fn nested_multiple_routes() {
228228
}
229229

230230
#[test]
231-
#[should_panic = "Invalid route \"/\": insertion failed due to conflict with previously registered route: /"]
231+
#[should_panic = r#"Invalid route "/": Insertion failed due to conflict with previously registered route: /"#]
232232
fn nested_service_at_root_with_other_routes() {
233233
let _: Router = Router::new()
234234
.nest_service("/", Router::new().route("/users", get(|| async {})))

0 commit comments

Comments
 (0)