Skip to content

Commit 72e2c7d

Browse files
committed
auto merge of #16050 : jxs/rust/master, r=alexcrichton
getopts returns Matches not Opt
2 parents 1ec6d17 + ef96b54 commit 72e2c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libgetopts/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ impl fmt::Show for Fail_ {
529529

530530
/// Parse command line arguments according to the provided options.
531531
///
532-
/// On success returns `Ok(Opt)`. Use methods such as `opt_present`
532+
/// On success returns `Ok(Matches)`. Use methods such as `opt_present`
533533
/// `opt_str`, etc. to interrogate results. Returns `Err(Fail_)` on
534534
/// failure: use the `Show` implementation of `Fail_` to display
535535
/// information about it.

0 commit comments

Comments
 (0)