From 9c9cbb5c5f72452825388d63db4f1e36c0d9b3aa Mon Sep 17 00:00:00 2001 From: DeepSpaceTravel <141806005+DeepSpaceTravel@users.noreply.github.com> Date: Mon, 14 Apr 2025 23:04:39 +0800 Subject: [PATCH] Update `route.md` to avoid syntax confusion in docs (#3311) --- axum/src/docs/routing/route.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum/src/docs/routing/route.md b/axum/src/docs/routing/route.md index 01be9152..37e4546c 100644 --- a/axum/src/docs/routing/route.md +++ b/axum/src/docs/routing/route.md @@ -4,7 +4,7 @@ Add another route to the router. can be either static, a capture, or a wildcard. `method_router` is the [`MethodRouter`] that should receive the request if the -path matches `path`. `method_router` will commonly be a handler wrapped in a method +path matches `path`. Usually, `method_router` will be a handler wrapped in a method router like [`get`]. See [`handler`](crate::handler) for more details on handlers. # Static paths