diff options
| author | bors <bors@rust-lang.org> | 2014-07-29 12:26:38 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-07-29 12:26:38 +0000 |
| commit | 72e2c7dec34bd87fab6bb15bb7d3d97269d4afd3 (patch) | |
| tree | 37c5e857ec779358dd29896c034c34d0b0157123 | |
| parent | 1ec6d17f232c098821888f7547a3a192dd86f552 (diff) | |
| parent | ef96b54b874b6af417b93f31874a9cf7f4e6c473 (diff) | |
| download | rust-72e2c7dec34bd87fab6bb15bb7d3d97269d4afd3.tar.gz rust-72e2c7dec34bd87fab6bb15bb7d3d97269d4afd3.zip | |
auto merge of #16050 : jxs/rust/master, r=alexcrichton
getopts returns Matches not Opt
| -rw-r--r-- | src/libgetopts/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgetopts/lib.rs b/src/libgetopts/lib.rs index 96b9a6a1392..922bf768854 100644 --- a/src/libgetopts/lib.rs +++ b/src/libgetopts/lib.rs @@ -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. |
