Skip to content

Commit

Permalink
Fix typo in getopts::getopts documentation, return Matches instead of…
Browse files Browse the repository at this point in the history
… Opt
  • Loading branch information
jxs committed Jul 28, 2014
1 parent 79e9f14 commit ef96b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libgetopts/lib.rs
Expand Up @@ -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.
Expand Down

5 comments on commit ef96b54

@bors
Copy link
Contributor

@bors bors commented on ef96b54 Jul 29, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at jxs@ef96b54

@bors
Copy link
Contributor

@bors bors commented on ef96b54 Jul 29, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging jxs/rust/master = ef96b54 into auto

@bors
Copy link
Contributor

@bors bors commented on ef96b54 Jul 29, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jxs/rust/master = ef96b54 merged ok, testing candidate = 72e2c7d

@bors
Copy link
Contributor

@bors bors commented on ef96b54 Jul 29, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 72e2c7d

Please sign in to comment.