Merge pull request #584 from impo/libimagtimeui/deny-warnings
libimagtimeui: Deny warnings and fix denied
This commit is contained in:
commit
76fba46224
2 changed files with 15 additions and 1 deletions
|
@ -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())
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue