about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-01-08 02:06:16 +0900
committerGitHub <noreply@github.com>2021-01-08 02:06:16 +0900
commita97dc5f1036305694752c6720f7b71d5f9915c69 (patch)
tree187a44cf5bf37dcb3bfa87c0a67711bee5b2d1ed
parentfd7f2443f1fed7433d8e887dad85b7616267eabf (diff)
parent2b8109f229b83d8c2b90b444a9077111e0877bb0 (diff)
downloadrust-a97dc5f1036305694752c6720f7b71d5f9915c69.tar.gz
rust-a97dc5f1036305694752c6720f7b71d5f9915c69.zip
Rollup merge of #80769 - ejez:patch-1, r=jonas-schievink
Improve wording of parse doc

Change:
```
`parse` can parse any type that...
```
to:
```
`parse` can parse into any type that...
```
Word `into` added to be more precise and in coherence with other parts of the doc.
-rw-r--r--library/core/src/str/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/str/mod.rs b/library/core/src/str/mod.rs
index ba495a1a9fb..ae7892291ed 100644
--- a/library/core/src/str/mod.rs
+++ b/library/core/src/str/mod.rs
@@ -2175,7 +2175,7 @@ impl str {
     /// helps the inference algorithm understand specifically which type
     /// you're trying to parse into.
     ///
-    /// `parse` can parse any type that implements the [`FromStr`] trait.
+    /// `parse` can parse into any type that implements the [`FromStr`] trait.
 
     ///
     /// # Errors