From 7eb79a3d81fc4748e3cd1f8dd4be282081a1fa77 Mon Sep 17 00:00:00 2001 From: Ashli G <56111939+blattgold@users.noreply.github.com> Date: Sat, 5 Aug 2023 22:42:31 +0200 Subject: [PATCH] slice.md, fixed gramatical error If you want know more -> If you want to know more --- en/src/compound-types/slice.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/src/compound-types/slice.md b/en/src/compound-types/slice.md index c883c3e..23aa344 100644 --- a/en/src/compound-types/slice.md +++ b/en/src/compound-types/slice.md @@ -85,7 +85,7 @@ fn main() { let mut s = String::from("hello world"); // Here, &s is `&String` type, but `first_word` need a `&str` type. - // It works because `&String` can be implicitly converted to `&str. If you want know more, this is called `Deref coercion`. + // It works because `&String` can be implicitly converted to `&str. If you want to know more, this is called `Deref coercion`. let word = first_word(&s); s.clear(); // error!