From 6b4c558508876859b3e971f1c76d53de5eb2569b Mon Sep 17 00:00:00 2001 From: J Arun Mani <49952138+J-Arun-Mani@users.noreply.github.com> Date: Fri, 23 Jul 2021 15:43:08 +0530 Subject: [PATCH] Grammatical mistake: Comparison as ... as the The sentence: This will convert the string into the type specified **so long as the** [`FromStr`] trait is implemented for that type. Misses an _as_: so **as long as the** Thank you! --- src/conversion/string.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conversion/string.md b/src/conversion/string.md index ab1452153a..36b4cb689c 100644 --- a/src/conversion/string.md +++ b/src/conversion/string.md @@ -33,7 +33,7 @@ approach to this is to use the [`parse`] function and either to arrange for type inference or to specify the type to parse using the 'turbofish' syntax. Both alternatives are shown in the following example. -This will convert the string into the type specified so long as the [`FromStr`] +This will convert the string into the type specified so as long as the [`FromStr`] trait is implemented for that type. This is implemented for numerous types within the standard library. To obtain this functionality on a user defined type simply implement the [`FromStr`] trait for that type.