diff --git a/src/subreddit.rs b/src/subreddit.rs index e39ed51..62d0ab4 100644 --- a/src/subreddit.rs +++ b/src/subreddit.rs @@ -11,10 +11,10 @@ use hyper::{Body, Request, Response}; use log::{debug, trace}; use rinja::Template; +use chrono::DateTime; use once_cell::sync::Lazy; use regex::Regex; use time::{Duration, OffsetDateTime}; -use chrono::DateTime; // STRUCTS #[derive(Template)] diff --git a/src/user.rs b/src/user.rs index 9ddbc04..2fb8b0d 100644 --- a/src/user.rs +++ b/src/user.rs @@ -5,10 +5,10 @@ use crate::client::json; use crate::server::RequestExt; use crate::utils::{error, filter_posts, format_url, get_filters, nsfw_landing, param, setting, template, Post, Preferences, User}; use crate::{config, utils}; +use chrono::DateTime; use hyper::{Body, Request, Response}; use rinja::Template; use time::{macros::format_description, OffsetDateTime}; -use chrono::DateTime; // STRUCTS #[derive(Template)]