diff options
author | Ellie Huxtable <e@elm.sh> | 2021-02-13 23:20:04 +0000 |
---|---|---|
committer | Ellie Huxtable <e@elm.sh> | 2021-02-13 23:20:16 +0000 |
commit | 8697aceb72680e510fef459dbdd4120aaeb8a66d (patch) | |
tree | 0fac0ee53ac323d66c1245c5503bb2ca64b25e7a | |
parent | f0b94d5bbd28d61dc7b7d6e831365287a43851e8 (diff) |
Fix clippy issues
-rw-r--r-- | src/local/history.rs | 1 | ||||
-rw-r--r-- | src/local/import.rs | 1 | ||||
-rw-r--r-- | src/main.rs | 4 |
3 files changed, 1 insertions, 5 deletions
diff --git a/src/local/history.rs b/src/local/history.rs index bb8b9123..893edbb7 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 0b237814..e8552397 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 920cd0a3..835ebc86 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; |