Skip to content

Commit fe48d8f

Browse files
committed
auto merge of #10399 : huonw/rust/get-opt-doc, r=alexcrichton
2 parents b5e602a + 8e719bd commit fe48d8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libextra/getopts.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ pub struct Matches {
142142
}
143143

144144
/// The type returned when the command line does not conform to the
145-
/// expected format. Pass this value to <fail_str> to get an error message.
145+
/// expected format. Call the `to_err_msg` method to retrieve the
146+
/// error as a string.
146147
#[deriving(Clone, Eq, ToStr)]
147148
#[allow(missing_doc)]
148149
pub enum Fail_ {

0 commit comments

Comments
 (0)