We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d1c7a93 + da5dd29 commit ef5ee7dCopy full SHA for ef5ee7d
src/libcore/str/mod.rs
@@ -37,6 +37,13 @@ pub mod pattern;
37
38
/// A trait to abstract the idea of creating a new instance of a type from a
39
/// string.
40
+///
41
+/// `FromStr`'s [`from_str()`] method is often used implicitly, through
42
+/// [`str`]'s [`parse()`] method. See [`parse()`]'s documentation for examples.
43
44
+/// [`from_str()`]: #tymethod.from_str
45
+/// [`str`]: ../primitive.str.html
46
+/// [`parse()`]: ../primitive.str.html#method.parse
47
#[stable(feature = "rust1", since = "1.0.0")]
48
pub trait FromStr: Sized {
49
/// The associated error which can be returned from parsing.
0 commit comments