mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
sprinkle #[allow(missing_debug_implementations)]
This commit is contained in:
parent
d752c17029
commit
9a94ad8ad6
4 changed files with 5 additions and 0 deletions
|
@ -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>,
|
||||||
|
|
|
@ -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>,
|
||||||
|
|
|
@ -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> {
|
||||||
|
|
|
@ -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>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue