Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade matchit #2997

Merged
merged 2 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion axum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
jplatte marked this conversation as resolved.
Show resolved Hide resolved
memchr = "2.4.1"
mime = "0.3.16"
percent-encoding = "2.1"
Expand Down
2 changes: 1 addition & 1 deletion axum/src/routing/tests/nest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {})))
Expand Down
Loading