mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-22 00:00:17 +02:00
Update route.md to avoid syntax confusion in docs (#3311)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user