Fix clippy issues

This commit is contained in:
Ellie Huxtable 2021-02-13 23:20:04 +00:00
parent f0b94d5bbd
commit 8697aceb72
3 changed files with 1 additions and 5 deletions

View file

@ -1,6 +1,5 @@
use std::env; use std::env;
use hostname;
use uuid::Uuid; use uuid::Uuid;
#[derive(Debug)] #[derive(Debug)]

View file

@ -4,7 +4,6 @@
use std::fs::File; use std::fs::File;
use std::io::{BufRead, BufReader}; use std::io::{BufRead, BufReader};
use chrono::{TimeZone, Utc};
use eyre::{eyre, Result}; use eyre::{eyre, Result};
use crate::local::history::History; use crate::local::history::History;

View file

@ -1,4 +1,3 @@
use std::env;
use std::path::PathBuf; use std::path::PathBuf;
use directories::ProjectDirs; use directories::ProjectDirs;
@ -8,10 +7,9 @@ use uuid::Uuid;
#[macro_use] #[macro_use]
extern crate log; extern crate log;
use pretty_env_logger;
use command::{history::HistoryCmd, import::ImportCmd}; use command::{history::HistoryCmd, import::ImportCmd};
use local::database::{Database, SqliteDatabase}; use local::database::SqliteDatabase;
use local::history::History; use local::history::History;
mod command; mod command;