From 7370142bba9391bc370c55705855cc5f3cbbcd77 Mon Sep 17 00:00:00 2001 From: Mircea Nistor Date: Mon, 27 Nov 2023 09:17:43 +0100 Subject: [PATCH] fix tiny typo in string conversion docs --- 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 edadaaa510..9a17a2ce68 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 a number. The idiomatic +One of the more common types to convert a string into is 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.