about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-11-10 13:36:11 -0800
committerbors <bors@rust-lang.org>2013-11-10 13:36:11 -0800
commitfe48d8fcd143e5810fd7550496d4ff561a240466 (patch)
tree221b40f4ba787f086e4cbe16cc40c87675da1c36
parentb5e602ac563422e13a18be9f79100f96359d582a (diff)
parent8e719bdfb5e32db67bcd62700bd6f14f597dcb89 (diff)
downloadrust-fe48d8fcd143e5810fd7550496d4ff561a240466.tar.gz
rust-fe48d8fcd143e5810fd7550496d4ff561a240466.zip
auto merge of #10399 : huonw/rust/get-opt-doc, r=alexcrichton
-rw-r--r--src/libextra/getopts.rs3
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_ {