mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-27 13:00:39 +00:00
Update route.md
to avoid syntax confusion in docs (#3311)
This commit is contained in:
parent
170d7d4dcc
commit
9c9cbb5c5f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user