We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d90bbb7 + b3a9015 commit ce9965bCopy full SHA for ce9965b
src/conversion/string.md
@@ -29,9 +29,9 @@ fn main() {
29
## Parsing a String
30
31
One of the more common types to convert a string into is a number. The idiomatic
32
-approach to this is to use the [`parse`] function and provide the type for the
33
-function to parse the string value into, this can be done either without type
34
-inference or using the 'turbofish' syntax.
+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.
35
36
This will convert the string into the type specified so long as the [`FromStr`]
37
trait is implemented for that type. This is implemented for numerous types
0 commit comments