From cd1453f084ef1085643fee4b9937ba0618d0c627 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 1 May 2025 19:06:43 +0200 Subject: [PATCH] Fix compilation (#3338) --- axum/src/routing/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/axum/src/routing/mod.rs b/axum/src/routing/mod.rs index 04c97351..e54a00bb 100644 --- a/axum/src/routing/mod.rs +++ b/axum/src/routing/mod.rs @@ -372,7 +372,6 @@ where /// [`merge`]: Self::merge pub fn reset_fallback(self) -> Self { tap_inner!(self, mut this => { - this.fallback_router = PathRouter::new_fallback(); this.default_fallback = true; this.catch_all_fallback = Fallback::Default(Route::new(NotFound)); })