about summary refs log tree commit diff
path: root/src/liballoc/string.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/liballoc/string.rs')
-rw-r--r--src/liballoc/string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/string.rs b/src/liballoc/string.rs
index a1f0b4f0de1..322b137e99f 100644
--- a/src/liballoc/string.rs
+++ b/src/liballoc/string.rs
@@ -164,7 +164,7 @@ use boxed::Box;
 /// reason.
 ///
 /// In certain cases Rust doesn't have enough information to make this
-/// conversion, known as deref coercion. In the following example a string
+/// conversion, known as `Deref` coercion. In the following example a string
 /// slice `&'a str` implements the trait `TraitExample`, and the function
 /// `example_func` takes anything that implements the trait. In this case Rust
 /// would need to make two implicit conversions, which Rust doesn't have the