Merge pull request #358 from matthiasbeyer/imag-view/zero-warnings

Imag view/zero warnings
This commit is contained in:
Matthias Beyer 2016-04-17 12:12:43 +02:00
commit a5e9bf747c
2 changed files with 16 additions and 4 deletions

View file

@ -1,9 +1,7 @@
use std::error::Error; use std::error::Error;
use std::fmt::Error as FmtError; use std::fmt::Error as FmtError;
use std::clone::Clone; use std::clone::Clone;
use std::fmt::{Debug, Display, Formatter}; use std::fmt::{Display, Formatter};
use std::fmt;
use std::convert::From;
/** /**
* Kind of store error * Kind of store error

View file

@ -1,3 +1,18 @@
#![deny(
non_camel_case_types,
non_snake_case,
path_statements,
trivial_numeric_casts,
unstable_features,
unused_allocation,
unused_import_braces,
unused_imports,
unused_must_use,
unused_mut,
unused_qualifications,
while_true,
)]
extern crate clap; extern crate clap;
extern crate glob; extern crate glob;
#[macro_use] extern crate log; #[macro_use] extern crate log;
@ -14,7 +29,6 @@ use std::process::exit;
use libimagrt::runtime::Runtime; use libimagrt::runtime::Runtime;
use libimagstore::store::FileLockEntry; use libimagstore::store::FileLockEntry;
use libimagstore::store::Result as StoreResult;
use libimagutil::trace::trace_error; use libimagutil::trace::trace_error;
mod error; mod error;