about summary refs log tree commit diff
path: root/src/libcore/str
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-03-27 15:24:22 -0500
committerAlex Crichton <alex@alexcrichton.com>2017-03-27 15:56:24 -0700
commit84712faaa50c8bdefbffccd896f4088d17fbb4f9 (patch)
treebac78d1905bc0f643243343f31939e1f9c19c4f3 /src/libcore/str
parentbae772bf3c0b459a8551a38f287f05a4515c120d (diff)
parent779d2f3044ee858fad70a95b8ac156105682883d (diff)
downloadrust-84712faaa50c8bdefbffccd896f4088d17fbb4f9.tar.gz
rust-84712faaa50c8bdefbffccd896f4088d17fbb4f9.zip
Rollup merge of #40819 - donniebishop:master, r=alexcrichton
Link ParseBoolError to from_str method of bool

Referencing task in #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
Diffstat (limited to 'src/libcore/str')
-rw-r--r--src/libcore/str/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs
index dfb6936da6b..2ef0eb0cdcf 100644
--- a/src/libcore/str/mod.rs
+++ b/src/libcore/str/mod.rs
@@ -101,7 +101,9 @@ impl FromStr for bool {
     }
 }
 
-/// An error returned when parsing a `bool` from a string fails.
+/// An error returned when parsing a `bool` using [`from_str`] fails
+///
+/// [`from_str`]: ../../std/primitive.bool.html#method.from_str
 #[derive(Debug, Clone, PartialEq, Eq)]
 #[stable(feature = "rust1", since = "1.0.0")]
 pub struct ParseBoolError { _priv: () }