libimagtimeui: Deny warnings and fix denied

Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
This commit is contained in:
Gavin Thomas Claugus 2016-07-26 16:41:13 -04:00
parent ee4cc84236
commit a84a3b1fff
2 changed files with 15 additions and 1 deletions

View file

@ -1,4 +1,4 @@
use clap::{Arg, ArgMatches, App, SubCommand};
use clap::Arg;
pub fn build_datetime_cli_component<'a, 'b>() -> Arg<'a, 'b> {
Arg::with_name(datetime_arg_name())

View file

@ -1,3 +1,17 @@
#![deny(
non_camel_case_types,
non_snake_case,
path_statements,
trivial_numeric_casts,
unstable_features,
unused_allocation,
unused_import_braces,
unused_imports,
unused_mut,
unused_qualifications,
while_true,
)]
extern crate chrono;
extern crate clap;
extern crate regex;