From 8697aceb72680e510fef459dbdd4120aaeb8a66d Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Sat, 13 Feb 2021 23:20:04 +0000 Subject: [PATCH] Fix clippy issues --- src/local/history.rs | 1 - src/local/import.rs | 1 - src/main.rs | 4 +--- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/local/history.rs b/src/local/history.rs index bb8b912..893edbb 100644 --- a/src/local/history.rs +++ b/src/local/history.rs @@ -1,6 +1,5 @@ use std::env; -use hostname; use uuid::Uuid; #[derive(Debug)] diff --git a/src/local/import.rs b/src/local/import.rs index 0b23781..e855239 100644 --- a/src/local/import.rs +++ b/src/local/import.rs @@ -4,7 +4,6 @@ use std::fs::File; use std::io::{BufRead, BufReader}; -use chrono::{TimeZone, Utc}; use eyre::{eyre, Result}; use crate::local::history::History; diff --git a/src/main.rs b/src/main.rs index 920cd0a..835ebc8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,3 @@ -use std::env; use std::path::PathBuf; use directories::ProjectDirs; @@ -8,10 +7,9 @@ use uuid::Uuid; #[macro_use] extern crate log; -use pretty_env_logger; use command::{history::HistoryCmd, import::ImportCmd}; -use local::database::{Database, SqliteDatabase}; +use local::database::SqliteDatabase; use local::history::History; mod command;