Improve doc comment

This commit is contained in:
hyd-dev 2021-06-27 23:09:10 +08:00
parent 7d310aa836
commit 08236912a7
No known key found for this signature in database
GPG Key ID: 74FA7FD5B8DA14B8

View File

@ -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,