Skip to content

Commit d45222e

Browse files
committed
Release 0.2.1: cleanup, error DTO, actix/sqlx integration
1 parent a8e6753 commit d45222e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/response.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,9 @@ mod axum_impl {
187187
//! status derived from `AppErrorKind`.
188188
189189
use axum::{
190+
Json,
190191
http::StatusCode,
191-
response::{IntoResponse, Response},
192-
Json
192+
response::{IntoResponse, Response}
193193
};
194194

195195
use super::ErrorResponse;
@@ -208,7 +208,7 @@ mod axum_impl {
208208
mod actix_impl {
209209
//! Actix `Responder` implementation for `ErrorResponse`.
210210
211-
use actix_web::{body::BoxBody, http::StatusCode, HttpRequest, HttpResponse, Responder};
211+
use actix_web::{HttpRequest, HttpResponse, Responder, body::BoxBody, http::StatusCode};
212212

213213
use super::ErrorResponse;
214214

0 commit comments

Comments
 (0)