Skip to content

Commit c5c5086

Browse files
Fix the typo in The Rust Programming Language book, 5.18. Strings
1 parent d7185dc commit c5c5086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/strings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ let world = "world!".to_string();
123123
let hello_world = hello + &world;
124124
```
125125

126-
This is because `&String` can automatically coerece to a `&str`. This is a
126+
This is because `&String` can automatically coerce to a `&str`. This is a
127127
feature called ‘[`Deref` coercions][dc]’.
128128

129129
[dc]: deref-coercions.html

0 commit comments

Comments
 (0)