Skip to content

Commit

Permalink
Fix trait name Deref
Browse files Browse the repository at this point in the history
  • Loading branch information
natboehm authored Aug 8, 2017
1 parent 40f5b30 commit fac6ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fac6ce7

Please # to comment.