From c5c508621db6c0239511a46f69d7c850347ab025 Mon Sep 17 00:00:00 2001 From: OlegTsyba Date: Thu, 21 May 2015 01:40:23 +0300 Subject: [PATCH] Fix the typo in The Rust Programming Language book, 5.18. Strings --- src/doc/trpl/strings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/trpl/strings.md b/src/doc/trpl/strings.md index abe17a96b39a6..c354fd09edd80 100644 --- a/src/doc/trpl/strings.md +++ b/src/doc/trpl/strings.md @@ -123,7 +123,7 @@ let world = "world!".to_string(); let hello_world = hello + &world; ``` -This is because `&String` can automatically coerece to a `&str`. This is a +This is because `&String` can automatically coerce to a `&str`. This is a feature called ‘[`Deref` coercions][dc]’. [dc]: deref-coercions.html