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(),