mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-09 00:00:12 +02:00
More consistent docs
This commit is contained in:
+1
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user