]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/rust-by-example/src/conversion/string.md
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / doc / rust-by-example / src / conversion / string.md
index ab1452153a4758770316f6c25b6d9a65fd1a7f40..9a17a2ce68441ddcb9b45e3cd082c8b26ac2db7f 100644 (file)
@@ -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 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.