Merge pull request #584 from impo/libimagtimeui/deny-warnings

libimagtimeui: Deny warnings and fix denied
This commit is contained in:
Matthias Beyer 2016-07-27 09:11:19 +02:00 committed by GitHub
commit 76fba46224
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> { pub fn build_datetime_cli_component<'a, 'b>() -> Arg<'a, 'b> {
Arg::with_name(datetime_arg_name()) 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 chrono;
extern crate clap; extern crate clap;
extern crate regex; extern crate regex;