mirror of
https://github.com/tokio-rs/axum.git
synced 2025-01-16 22:43:03 +01:00
More consistent docs
This commit is contained in:
parent
8500ea256d
commit
a790abca87
1 changed files with 1 additions and 2 deletions
|
@ -89,8 +89,7 @@ pub trait IntoResponse {
|
||||||
/// Unless you're implementing this trait for a custom body type, these are
|
/// Unless you're implementing this trait for a custom body type, these are
|
||||||
/// some common types you can use:
|
/// some common types you can use:
|
||||||
///
|
///
|
||||||
/// - [`hyper::Body`]: A good default that supports most use cases. This is
|
/// - [`axum::body::Body`]: A good default that supports most use cases.
|
||||||
/// also re-exported as [`axum::body::Body`].
|
|
||||||
/// - [`axum::body::Empty<Bytes>`]: When you know your response is always
|
/// - [`axum::body::Empty<Bytes>`]: When you know your response is always
|
||||||
/// empty.
|
/// empty.
|
||||||
/// - [`axum::body::Full<Bytes>`]: When you know your response always
|
/// - [`axum::body::Full<Bytes>`]: When you know your response always
|
||||||
|
|
Loading…
Reference in a new issue