Skip to content

Commit cd1453f

Browse files
authored
Fix compilation (#3338)
1 parent 6ad76dd commit cd1453f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

axum/src/routing/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,6 @@ where
372372
/// [`merge`]: Self::merge
373373
pub fn reset_fallback(self) -> Self {
374374
tap_inner!(self, mut this => {
375-
this.fallback_router = PathRouter::new_fallback();
376375
this.default_fallback = true;
377376
this.catch_all_fallback = Fallback::Default(Route::new(NotFound));
378377
})

0 commit comments

Comments
 (0)