1
Fork 0

Fix typo in getopts::getopts documentation, return Matches instead of Opt

This commit is contained in:
joaoxsouls 2014-07-28 17:35:31 +01:00
parent 79e9f14abf
commit ef96b54b87

View file

@ -529,7 +529,7 @@ impl fmt::Show for Fail_ {
/// Parse command line arguments according to the provided options.
///
/// On success returns `Ok(Opt)`. Use methods such as `opt_present`
/// On success returns `Ok(Matches)`. Use methods such as `opt_present`
/// `opt_str`, etc. to interrogate results. Returns `Err(Fail_)` on
/// failure: use the `Show` implementation of `Fail_` to display
/// information about it.