From ef96b54b874b6af417b93f31874a9cf7f4e6c473 Mon Sep 17 00:00:00 2001 From: joaoxsouls Date: Mon, 28 Jul 2014 17:35:31 +0100 Subject: [PATCH] Fix typo in getopts::getopts documentation, return Matches instead of Opt --- src/libgetopts/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.