diff --git a/axum/src/extract/matched_path.rs b/axum/src/extract/matched_path.rs index 9ad5457b..064a9726 100644 --- a/axum/src/extract/matched_path.rs +++ b/axum/src/extract/matched_path.rs @@ -143,7 +143,7 @@ pub(crate) fn set_matched_path_for_request( if matched_path.ends_with(NEST_TAIL_PARAM_CAPTURE) { extensions.insert(MatchedNestedPath(matched_path)); - debug_assert!(matches!(dbg!(extensions.remove::()), None)); + debug_assert!(matches!(extensions.remove::(), None)); } else { extensions.insert(MatchedPath(matched_path)); extensions.remove::();