From 0cedf72de6d88e938eed32a0b26867c963bb29d5 Mon Sep 17 00:00:00 2001 From: phiresky Date: Fri, 7 Jun 2019 21:46:17 +0200 Subject: [PATCH] fix --- src/args.rs | 6 +++--- src/bin/rga-preproc.rs | 8 ++++---- src/bin/rga.rs | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/args.rs b/src/args.rs index 9dbb57d..46f10c7 100644 --- a/src/args.rs +++ b/src/args.rs @@ -1,11 +1,11 @@ -use clap::{crate_version, App, Arg}; + use failure::Fallible; use log::*; use serde::{Deserialize, Serialize}; -use std::ffi::OsStr; + use std::ffi::OsString; use std::iter::IntoIterator; -use std::process::Command; + use structopt::StructOpt; fn is_default(t: &T) -> bool { t == &T::default() diff --git a/src/bin/rga-preproc.rs b/src/bin/rga-preproc.rs index a06eb01..38448ce 100644 --- a/src/bin/rga-preproc.rs +++ b/src/bin/rga-preproc.rs @@ -1,10 +1,10 @@ -use clap::{crate_version, App, Arg}; -use failure::{format_err, Error, Fallible}; -use log::*; + +use failure::{format_err, Fallible}; + use rga::adapters::*; use rga::preproc::*; -use std::env; + use std::fs::File; use std::io::BufReader; fn main() -> Fallible<()> { diff --git a/src/bin/rga.rs b/src/bin/rga.rs index 81c102b..d006970 100644 --- a/src/bin/rga.rs +++ b/src/bin/rga.rs @@ -1,10 +1,10 @@ -use clap::{crate_version, App, Arg}; + use failure::Fallible; use log::*; use rga::adapters::spawning::map_exe_error; use rga::adapters::*; use rga::args::*; -use serde::{Deserialize, Serialize}; + use std::ffi::OsString; use std::process::Command; use structopt::StructOpt;