mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-06 00:00:17 +02:00
Use impl IntoResponse less in docs (#1049)
This commit is contained in:
@@ -15,7 +15,7 @@ use serde::Serialize;
|
||||
/// ```rust
|
||||
/// # use axum::{response::IntoResponse};
|
||||
/// # use axum_extra::response::ErasedJson;
|
||||
/// async fn handler() -> impl IntoResponse {
|
||||
/// async fn handler() -> ErasedJson {
|
||||
/// # let condition = true;
|
||||
/// # let foo = ();
|
||||
/// # let bar = vec![()];
|
||||
|
||||
Reference in New Issue
Block a user