From 5c11c5c44d0e063ce2f51984eea95e74abcf8e4b Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Fri, 10 Mar 2023 12:30:08 +0100 Subject: [PATCH] Print `prev_route_id` in `impl Debug for Router` --- axum/src/routing/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/axum/src/routing/mod.rs b/axum/src/routing/mod.rs index 5890364b1d..4f02838984 100644 --- a/axum/src/routing/mod.rs +++ b/axum/src/routing/mod.rs @@ -83,6 +83,7 @@ impl fmt::Debug for Router { .field("routes", &self.routes) .field("node", &self.node) .field("fallback", &self.fallback) + .field("prev_route_id", &self.prev_route_id) .finish() } }