From 3132038058692b7fb157e21e41d3f1bcf03dac80 Mon Sep 17 00:00:00 2001 From: insects Date: Wed, 5 Feb 2025 22:33:36 +0100 Subject: [PATCH] fix minor stuff --- src/data.rs | 5 +---- src/templates.rs | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/data.rs b/src/data.rs index c8f752f..b77e138 100644 --- a/src/data.rs +++ b/src/data.rs @@ -1,8 +1,5 @@ use core::fmt; -use std::{ - collections::HashMap, - fmt::{write, Display}, -}; +use std::{collections::HashMap, fmt::Display}; use chrono::{DateTime, Datelike, Duration, Timelike, Utc}; use chrono_humanize::HumanTime; diff --git a/src/templates.rs b/src/templates.rs index d412126..22ebd26 100644 --- a/src/templates.rs +++ b/src/templates.rs @@ -1,4 +1,4 @@ -use std::{cmp::Ordering, sync::Arc}; +use std::sync::Arc; use axum::extract::State; use maud::{html, Markup, DOCTYPE};