diff options
| author | joaoxsouls <joaoxsouls@gmail.com> | 2014-07-28 17:35:31 +0100 |
|---|---|---|
| committer | joaoxsouls <joaoxsouls@gmail.com> | 2014-07-28 17:35:31 +0100 |
| commit | ef96b54b874b6af417b93f31874a9cf7f4e6c473 (patch) | |
| tree | dd7e9b31701fecf084166625b573cb6c7e3f7f36 /src/libgetopts | |
| parent | 79e9f14abf50eecb7d3c53f10ad900615bb2d397 (diff) | |
| download | rust-ef96b54b874b6af417b93f31874a9cf7f4e6c473.tar.gz rust-ef96b54b874b6af417b93f31874a9cf7f4e6c473.zip | |
Fix typo in getopts::getopts documentation, return Matches instead of Opt
Diffstat (limited to 'src/libgetopts')
| -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. |
