docs: Remove unnecessary link targets (#2778)

This commit is contained in:
David Mládek 2024-06-09 23:20:35 +02:00 committed by GitHub
parent 89202ac379
commit 7d43b4651d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 5 deletions

View File

@ -19,8 +19,7 @@ Types and traits for extracting data from requests.
A handler function is an async function that takes any number of
"extractors" as arguments. An extractor is a type that implements
[`FromRequest`](crate::extract::FromRequest)
or [`FromRequestParts`](crate::extract::FromRequestParts).
[`FromRequest`] or [`FromRequestParts`].
For example, [`Json`] is an extractor that consumes the request body and
deserializes it as JSON into some target type:

View File

@ -166,7 +166,7 @@ In general you can return tuples like:
This means you cannot accidentally override the status or body as [`IntoResponseParts`] only allows
setting headers and extensions.
Use [`Response`](crate::response::Response) for more low level control:
Use [`Response`] for more low level control:
```rust,no_run
use axum::{

View File

@ -5,8 +5,7 @@ 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
router like [`get`](crate::routing::get). See [`handler`](crate::handler) for
more details on handlers.
router like [`get`]. See [`handler`](crate::handler) for more details on handlers.
# Static paths