Merge pull request #165 from matthiasbeyer/remove-unused-imports
Remove unused imports
This commit is contained in:
commit
0931ede580
5 changed files with 0 additions and 7 deletions
|
@ -1,5 +1,4 @@
|
|||
use std::default::Default;
|
||||
use std::fmt::{Debug, Display, Formatter, Error};
|
||||
use std::path::PathBuf;
|
||||
use std::result::Result as RResult;
|
||||
|
||||
|
@ -159,7 +158,6 @@ impl Configuration {
|
|||
* Tests several variants for the config file path and uses the first one which works.
|
||||
*/
|
||||
fn fetch_config(rtp: &PathBuf) -> Result<Config> {
|
||||
use std::process::exit;
|
||||
use std::env;
|
||||
|
||||
use xdg_basedir;
|
||||
|
|
|
@ -2,7 +2,6 @@ use std::error::Error;
|
|||
use std::fmt::Display;
|
||||
use std::fmt::Formatter;
|
||||
use std::fmt::Error as FmtError;
|
||||
use std::clone::Clone;
|
||||
|
||||
#[derive(Debug, PartialEq, Clone, Copy)]
|
||||
pub enum RuntimeErrorKind {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
use std::path::PathBuf;
|
||||
use std::result::Result as RResult;
|
||||
|
||||
pub use clap::App;
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ use std::clone::Clone;
|
|||
use std::fmt::{Debug, Display, Formatter};
|
||||
use std::fmt;
|
||||
use std::convert::From;
|
||||
use toml;
|
||||
|
||||
/**
|
||||
* Kind of store error
|
||||
|
|
|
@ -5,11 +5,9 @@ use std::path::PathBuf;
|
|||
use std::result::Result as RResult;
|
||||
use std::sync::Arc;
|
||||
use std::sync::RwLock;
|
||||
use std::error::Error;
|
||||
use std::collections::BTreeMap;
|
||||
use std::io::{Seek, SeekFrom};
|
||||
|
||||
use fs2::FileExt;
|
||||
use toml::{Table, Value};
|
||||
use regex::Regex;
|
||||
|
||||
|
|
Loading…
Reference in a new issue