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)]
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct AppMeta<'b> {
|
||||
pub name: String,
|
||||
pub bin_name: Option<String>,
|
||||
|
|
|
@ -24,6 +24,7 @@ use osstringext::OsStrExt2;
|
|||
use app::meta::AppMeta;
|
||||
use args::MatchedArg;
|
||||
|
||||
#[allow(missing_debug_implementations)]
|
||||
#[doc(hidden)]
|
||||
pub struct Parser<'a, 'b> where 'a: 'b {
|
||||
required: Vec<&'b str>,
|
||||
|
|
|
@ -9,6 +9,7 @@ use args::settings::ArgSettings;
|
|||
use args::AnyArg;
|
||||
|
||||
#[doc(hidden)]
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct ArgMatcher<'a>(pub ArgMatches<'a>);
|
||||
|
||||
impl<'a> ArgMatcher<'a> {
|
||||
|
|
|
@ -496,6 +496,7 @@ impl<'a> ArgMatches<'a> {
|
|||
// license: MIT - Copyright (c) 2015 The Rust Project Developers
|
||||
|
||||
#[derive(Clone)]
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct Values<'a> {
|
||||
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)]
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct OsValues<'a> {
|
||||
iter: Map<vec_map::Values<'a, OsString>, fn(&'a OsString) -> &'a OsStr>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue