diff options
| author | Natalie Boehm <nmb56@pitt.edu> | 2017-08-08 16:57:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-08 16:57:11 -0400 |
| commit | fac6ce79e54a2d5bdbdc5157c645970a479e2fb1 (patch) | |
| tree | 439b84d55e21861326a1496b9e0c9586d41a791d /src/liballoc/string.rs | |
| parent | 40f5b308bcf8024cd17b982d543695873bc9dd53 (diff) | |
| download | rust-fac6ce79e54a2d5bdbdc5157c645970a479e2fb1.tar.gz rust-fac6ce79e54a2d5bdbdc5157c645970a479e2fb1.zip | |
Fix trait name `Deref`
Diffstat (limited to 'src/liballoc/string.rs')
| -rw-r--r-- | src/liballoc/string.rs | 2 |
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 |
