mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-09 00:00:12 +02:00
Fix compilation (#3338)
This commit is contained in:
@@ -372,7 +372,6 @@ where
|
|||||||
/// [`merge`]: Self::merge
|
/// [`merge`]: Self::merge
|
||||||
pub fn reset_fallback(self) -> Self {
|
pub fn reset_fallback(self) -> Self {
|
||||||
tap_inner!(self, mut this => {
|
tap_inner!(self, mut this => {
|
||||||
this.fallback_router = PathRouter::new_fallback();
|
|
||||||
this.default_fallback = true;
|
this.default_fallback = true;
|
||||||
this.catch_all_fallback = Fallback::Default(Route::new(NotFound));
|
this.catch_all_fallback = Fallback::Default(Route::new(NotFound));
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user