From 1f20ffffc7f71f77e1bb374b24edd88ee49fd19d Mon Sep 17 00:00:00 2001 From: Serge K Lebedev Date: Thu, 1 Jun 2023 10:16:46 +0600 Subject: [PATCH] Fix grammar in string.md --- 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 9a17a2ce68..edadaaa510 100644 --- a/src/conversion/string.md +++ b/src/conversion/string.md @@ -28,7 +28,7 @@ fn main() { ## Parsing a String -One of the more common types to convert a string into is a number. The idiomatic +One of the more common types to convert a string into a number. The idiomatic 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.