sprinkle #[allow(missing_debug_implementations)]

This commit is contained in:
Jorge Aparicio 2016-02-21 11:44:45 -05:00
parent d752c17029
commit 9a94ad8ad6
4 changed files with 5 additions and 0 deletions

View file

@ -1,4 +1,5 @@
#[doc(hidden)] #[doc(hidden)]
#[allow(missing_debug_implementations)]
pub struct AppMeta<'b> { pub struct AppMeta<'b> {
pub name: String, pub name: String,
pub bin_name: Option<String>, pub bin_name: Option<String>,

View file

@ -24,6 +24,7 @@ use osstringext::OsStrExt2;
use app::meta::AppMeta; use app::meta::AppMeta;
use args::MatchedArg; use args::MatchedArg;
#[allow(missing_debug_implementations)]
#[doc(hidden)] #[doc(hidden)]
pub struct Parser<'a, 'b> where 'a: 'b { pub struct Parser<'a, 'b> where 'a: 'b {
required: Vec<&'b str>, required: Vec<&'b str>,

View file

@ -9,6 +9,7 @@ use args::settings::ArgSettings;
use args::AnyArg; use args::AnyArg;
#[doc(hidden)] #[doc(hidden)]
#[allow(missing_debug_implementations)]
pub struct ArgMatcher<'a>(pub ArgMatches<'a>); pub struct ArgMatcher<'a>(pub ArgMatches<'a>);
impl<'a> ArgMatcher<'a> { impl<'a> ArgMatcher<'a> {

View file

@ -496,6 +496,7 @@ impl<'a> ArgMatches<'a> {
// license: MIT - Copyright (c) 2015 The Rust Project Developers // license: MIT - Copyright (c) 2015 The Rust Project Developers
#[derive(Clone)] #[derive(Clone)]
#[allow(missing_debug_implementations)]
pub struct Values<'a> { pub struct Values<'a> {
iter: Map<vec_map::Values<'a, OsString>, fn(&'a OsString) -> &'a str> iter: Map<vec_map::Values<'a, OsString>, fn(&'a OsString) -> &'a str>
} }
@ -559,6 +560,7 @@ impl<'a, V> DoubleEndedIterator for Iter<'a, V> {
} }
#[derive(Clone)] #[derive(Clone)]
#[allow(missing_debug_implementations)]
pub struct OsValues<'a> { pub struct OsValues<'a> {
iter: Map<vec_map::Values<'a, OsString>, fn(&'a OsString) -> &'a OsStr> iter: Map<vec_map::Values<'a, OsString>, fn(&'a OsString) -> &'a OsStr>
} }