Merge pull request #363 from matthiasbeyer/libimagentrylist/zero-warnings

Libimagentrylist/zero warnings
This commit is contained in:
Matthias Beyer 2016-04-18 08:54:23 +02:00
commit 791b3ad2eb
4 changed files with 16 additions and 6 deletions

View file

@ -1,3 +1,19 @@
#![deny(
dead_code,
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;
#[macro_use] extern crate log; #[macro_use] extern crate log;
extern crate toml; extern crate toml;

View file

@ -1,5 +1,3 @@
use clap::ArgMatches;
use libimagstore::store::FileLockEntry; use libimagstore::store::FileLockEntry;
use result::Result; use result::Result;

View file

@ -1,11 +1,9 @@
use std::io::stdout; use std::io::stdout;
use std::io::Write; use std::io::Write;
use cli::list_subcommand_name;
use lister::Lister; use lister::Lister;
use result::Result; use result::Result;
use clap::ArgMatches;
use libimagstore::store::FileLockEntry; use libimagstore::store::FileLockEntry;
pub struct LineLister<'a> { pub struct LineLister<'a> {

View file

@ -2,11 +2,9 @@ use std::io::stdout;
use std::io::Write; use std::io::Write;
use std::ops::Deref; use std::ops::Deref;
use cli::list_subcommand_name;
use lister::Lister; use lister::Lister;
use result::Result; use result::Result;
use clap::ArgMatches;
use libimagstore::store::FileLockEntry; use libimagstore::store::FileLockEntry;
pub struct PathLister { pub struct PathLister {