Fix Clippy 1.43 warnings (#399)

This commit is contained in:
Idan Katz
2020-04-28 06:47:12 +03:00
committed by GitHub
parent 911b720449
commit 805cb34d6f
4 changed files with 0 additions and 6 deletions

View File

@@ -6,7 +6,6 @@ use directories::BaseDirs;
use log::{debug, LevelFilter};
use pretty_env_logger::formatted_timed_builder;
use serde::Deserialize;
use shellexpand;
use std::collections::BTreeMap;
use std::fs::write;
use std::path::PathBuf;
@@ -14,7 +13,6 @@ use std::process::Command;
use std::{env, fs};
use structopt::StructOpt;
use strum::{EnumIter, EnumString, EnumVariantNames, IntoEnumIterator, VariantNames};
use toml;
type Commands = BTreeMap<String, String>;

View File

@@ -21,8 +21,6 @@ use self::steps::*;
use self::terminal::*;
use anyhow::{anyhow, Result};
use log::debug;
#[cfg(feature = "self-update")]
use openssl_probe;
use std::env;
use std::io;
use std::process::exit;

View File

@@ -2,7 +2,6 @@ use super::terminal::*;
#[cfg(windows)]
use crate::error::Upgraded;
use anyhow::{bail, Result};
use self_update_crate;
use self_update_crate::backends::github::{GitHubUpdateStatus, Update};
use std::env;
#[cfg(unix)]

View File

@@ -7,7 +7,6 @@ use std::ffi::OsStr;
use std::fmt::Debug;
use std::path::{Path, PathBuf};
use std::process::{ExitStatus, Output};
use which_crate;
pub trait Check {
fn check(self) -> Result<()>;