From 2b8109f229b83d8c2b90b444a9077111e0877bb0 Mon Sep 17 00:00:00 2001 From: Ejez <48388358+ejez@users.noreply.github.com> Date: Thu, 7 Jan 2021 07:47:03 +0300 Subject: [PATCH] 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. --- library/core/src/str/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/str/mod.rs b/library/core/src/str/mod.rs index ba495a1a9fbe4..ae7892291ed19 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