diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-11-10 23:27:03 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-11-10 23:28:26 +1100 |
| commit | 8e719bdfb5e32db67bcd62700bd6f14f597dcb89 (patch) | |
| tree | cad7eee4728e618d20cadb784a9afb5969b6b295 /src | |
| parent | 3851f908d16b55dfe69d5a423ecbef4cd224fae2 (diff) | |
extra::getopts: update docs for minor renaming.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libextra/getopts.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libextra/getopts.rs b/src/libextra/getopts.rs index e2ace841dec..918952132ab 100644 --- a/src/libextra/getopts.rs +++ b/src/libextra/getopts.rs @@ -142,7 +142,8 @@ pub struct Matches { } /// The type returned when the command line does not conform to the -/// expected format. Pass this value to <fail_str> to get an error message. +/// expected format. Call the `to_err_msg` method to retrieve the +/// error as a string. #[deriving(Clone, Eq, ToStr)] #[allow(missing_doc)] pub enum Fail_ { |
