diff --git a/axum/src/routing/method_routing.rs b/axum/src/routing/method_routing.rs index 6ae827a0..07277742 100644 --- a/axum/src/routing/method_routing.rs +++ b/axum/src/routing/method_routing.rs @@ -636,9 +636,10 @@ impl MethodRouter<(), B, Infallible> where B: HttpBody + Send + 'static, { - /// 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::{