From 90823a79ef80f6a589a414fb8a3006c8ff17a95d Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Sat, 9 Jul 2022 22:44:35 -0400 Subject: fmt --- src/errors.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/errors.rs') diff --git a/src/errors.rs b/src/errors.rs index d4b365f..6b3195f 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -1,4 +1,7 @@ -use axum::{response::{Response, IntoResponse}, body::{boxed, self}}; +use axum::{ + body::{self, boxed}, + response::{IntoResponse, Response}, +}; use hyper::StatusCode; use thiserror::Error; @@ -34,9 +37,6 @@ impl IntoResponse for ServiceError { _ => StatusCode::INTERNAL_SERVER_ERROR, }; - Response::builder() - .status(status) - .body(body) - .unwrap() + Response::builder().status(status).body(body).unwrap() } } -- cgit v1.2.3