Skip to content

Commit 8e719bd

Browse files
committed
extra::getopts: update docs for minor renaming.
1 parent 3851f90 commit 8e719bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libextra/getopts.rs

Lines changed: 2 additions & 1 deletion
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)