Getting rid of generated code warnings

This commit is contained in:
Tomasz Drwięga 2016-04-21 16:32:44 +02:00
parent ee474b425b
commit f5fcada5ba
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@
// while not included in binary // while not included in binary
#![allow(dead_code)] #![allow(dead_code)]
#![cfg_attr(feature="dev", allow(used_underscore_binding))]
pub mod service; pub mod service;

View File

@ -20,6 +20,7 @@
#![cfg_attr(feature="dev", feature(plugin))] #![cfg_attr(feature="dev", feature(plugin))]
#![cfg_attr(feature="dev", plugin(clippy))] #![cfg_attr(feature="dev", plugin(clippy))]
#![cfg_attr(feature="dev", allow(useless_format))] #![cfg_attr(feature="dev", allow(useless_format))]
extern crate docopt; extern crate docopt;
extern crate num_cpus; extern crate num_cpus;
extern crate rustc_serialize; extern crate rustc_serialize;