From 21d496ddb1896c5aef34db73c20ea3dcf73ac2cd Mon Sep 17 00:00:00 2001 From: Andrew Silver Date: Wed, 12 Apr 2023 03:02:19 +1000 Subject: [PATCH] Removed leftover "path_router hit" debug message (#1925) --- axum/src/routing/mod.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/axum/src/routing/mod.rs b/axum/src/routing/mod.rs index b7799d7b..52d20422 100644 --- a/axum/src/routing/mod.rs +++ b/axum/src/routing/mod.rs @@ -299,10 +299,7 @@ where } match self.path_router.call_with_state(req, state) { - Ok(future) => { - println!("path_router hit"); - future - } + Ok(future) => future, Err((mut req, state)) => { let super_fallback = req .extensions_mut()