From 98a09e462f94c6e5afdefb2bf9c911c86d38cd04 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Wed, 27 Sep 2023 08:44:53 +0200 Subject: [PATCH] code beautifying --- src/main.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index 93483da..eab6ccd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,13 +2,9 @@ use axum::{ extract::Path, http::HeaderMap, http::StatusCode, routing::get, routing::post, routing::put, Json, Router, }; - -use serde::Deserialize; - use redis::Commands; -use serde::Serialize; -use serde_json::json; -use serde_json::Value; +use serde::{Deserialize, Serialize}; +use serde_json::{json, Value}; use std::time::{SystemTime, UNIX_EPOCH};