Skip to content

Commit 0823691

Browse files
author
hyd-dev
committed
Improve doc comment
1 parent 7d310aa commit 0823691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cargo-miri/bin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ fn has_arg_flag(name: &str) -> bool {
113113
}
114114

115115
/// Yields all values of command line flag `name` as `Ok(arg)`, and all other arguments except
116-
/// the flag as `Err(arg)`.
116+
/// the flag as `Err(arg)`. (The flag `name` itself is not yielded at all, only its values are.)
117117
struct ArgSplitFlagValue<'a, I> {
118118
args: TakeWhile<I, fn(&String) -> bool>,
119119
name: &'a str,

0 commit comments

Comments
 (0)