Improve doc comment
This commit is contained in:
parent
7d310aa836
commit
08236912a7
@ -113,7 +113,7 @@ fn has_arg_flag(name: &str) -> bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Yields all values of command line flag `name` as `Ok(arg)`, and all other arguments except
|
/// Yields all values of command line flag `name` as `Ok(arg)`, and all other arguments except
|
||||||
/// the flag as `Err(arg)`.
|
/// the flag as `Err(arg)`. (The flag `name` itself is not yielded at all, only its values are.)
|
||||||
struct ArgSplitFlagValue<'a, I> {
|
struct ArgSplitFlagValue<'a, I> {
|
||||||
args: TakeWhile<I, fn(&String) -> bool>,
|
args: TakeWhile<I, fn(&String) -> bool>,
|
||||||
name: &'a str,
|
name: &'a str,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user