From 7aae690850d999f1c9f3ee20b9051909814e5782 Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Tue, 27 Aug 2024 10:55:51 +0200 Subject: [PATCH] cleanup imports --- packages/backend/src/note/routes.rs | 10 ++++++---- packages/backend/src/status/mod.rs | 3 +-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/backend/src/note/routes.rs b/packages/backend/src/note/routes.rs index ee290dc..e5aa9ff 100644 --- a/packages/backend/src/note/routes.rs +++ b/packages/backend/src/note/routes.rs @@ -1,7 +1,9 @@ -use axum::extract::Path; -use axum::http::StatusCode; -use axum::response::{IntoResponse, Response}; -use axum::Json; +use axum::{ + extract::Path, + http::StatusCode, + response::{IntoResponse, Response}, + Json, +}; use serde::{Deserialize, Serialize}; use std::time::SystemTime; diff --git a/packages/backend/src/status/mod.rs b/packages/backend/src/status/mod.rs index d02b092..80deeae 100644 --- a/packages/backend/src/status/mod.rs +++ b/packages/backend/src/status/mod.rs @@ -1,6 +1,5 @@ use crate::config; -use axum::http::StatusCode; -use axum::Json; +use axum::{http::StatusCode, Json}; use serde::Serialize; #[derive(Serialize)]