Use impl IntoResponse less in docs (#1049)

This commit is contained in:
David Pedersen
2022-05-22 13:41:29 +02:00
committed by GitHub
parent 1d7878c3c8
commit 19fe93262f
17 changed files with 88 additions and 47 deletions
+1 -1
View File
@@ -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![()];