Skip to content

Commit 84712fa

Browse files
committed
Rollup merge of rust-lang#40819 - donniebishop:master, r=alexcrichton
Link ParseBoolError to from_str method of bool Referencing task in rust-lang#29375. Sorry for not opening another branch on my fork for this. Was working on this early this morning and forgot to branch off master
2 parents bae772b + 779d2f3 commit 84712fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libcore/str/mod.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ impl FromStr for bool {
101101
}
102102
}
103103

104-
/// An error returned when parsing a `bool` from a string fails.
104+
/// An error returned when parsing a `bool` using [`from_str`] fails
105+
///
106+
/// [`from_str`]: ../../std/primitive.bool.html#method.from_str
105107
#[derive(Debug, Clone, PartialEq, Eq)]
106108
#[stable(feature = "rust1", since = "1.0.0")]
107109
pub struct ParseBoolError { _priv: () }

0 commit comments

Comments
 (0)