diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-03-27 15:24:22 -0500 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-03-27 15:56:24 -0700 |
| commit | 84712faaa50c8bdefbffccd896f4088d17fbb4f9 (patch) | |
| tree | bac78d1905bc0f643243343f31939e1f9c19c4f3 /src/libcore/str | |
| parent | bae772bf3c0b459a8551a38f287f05a4515c120d (diff) | |
| parent | 779d2f3044ee858fad70a95b8ac156105682883d (diff) | |
| download | rust-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.rs | 4 |
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: () } |
