]> git.lizzy.rs Git - rust.git/commitdiff
Fix trait name `Deref`
authorNatalie Boehm <nmb56@pitt.edu>
Tue, 8 Aug 2017 20:57:11 +0000 (16:57 -0400)
committerGitHub <noreply@github.com>
Tue, 8 Aug 2017 20:57:11 +0000 (16:57 -0400)
src/liballoc/string.rs

index a1f0b4f0de19df3e26a181472cd18c0e02b18693..322b137e99f0e9b6856d5171384aab0b3f482a87 100644 (file)
 /// 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