diff --git a/axum/src/routing/method_routing.rs b/axum/src/routing/method_routing.rs index 053c9918..c379d194 100644 --- a/axum/src/routing/method_routing.rs +++ b/axum/src/routing/method_routing.rs @@ -604,9 +604,10 @@ where } impl MethodRouter<(), Infallible> { - /// Convert the handler into a [`MakeService`]. + /// Convert the router into a [`MakeService`]. /// - /// This allows you to serve a single handler if you don't need any routing: + /// This allows you to serve a single `MethodRouter` if you don't need any + /// routing based on the path: /// /// ```rust /// use axum::{