Skip to content

Commit 6b4c558

Browse files
authored
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!
1 parent 1db6bb4 commit 6b4c558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conversion/string.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ approach to this is to use the [`parse`] function and either to arrange for
3333
type inference or to specify the type to parse using the 'turbofish' syntax.
3434
Both alternatives are shown in the following example.
3535

36-
This will convert the string into the type specified so long as the [`FromStr`]
36+
This will convert the string into the type specified so as long as the [`FromStr`]
3737
trait is implemented for that type. This is implemented for numerous types
3838
within the standard library. To obtain this functionality on a user defined type
3939
simply implement the [`FromStr`] trait for that type.

0 commit comments

Comments
 (0)