From f78e9f5763a23ec21217a45959f1c9b43ca20c4d Mon Sep 17 00:00:00 2001 From: Samir Talwar Date: Wed, 11 Oct 2023 00:21:32 +0200 Subject: [PATCH] Relax constraints further. --- rust-connector-sdk/src/json_response.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust-connector-sdk/src/json_response.rs b/rust-connector-sdk/src/json_response.rs index 46126923..689750da 100644 --- a/rust-connector-sdk/src/json_response.rs +++ b/rust-connector-sdk/src/json_response.rs @@ -16,7 +16,7 @@ pub enum JsonResponse { Serialized(Bytes), } -impl serde::Deserialize<'de>)> JsonResponse { +impl serde::Deserialize<'de>)> JsonResponse { /// Unwraps the value, deserializing if necessary. /// /// This is only intended for testing and compatibility. If it lives on a @@ -39,7 +39,7 @@ impl From for JsonResponse { } } -impl serde::Deserialize<'de>)> IntoResponse for JsonResponse { +impl IntoResponse for JsonResponse { fn into_response(self) -> axum::response::Response { match self { JsonResponse::Value(value) => axum::Json(value).into_response(),