Skip to content

Commit fac6ce7

Browse files
authored
Fix trait name Deref
1 parent 40f5b30 commit fac6ce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ use boxed::Box;
164164
/// reason.
165165
///
166166
/// In certain cases Rust doesn't have enough information to make this
167-
/// conversion, known as deref coercion. In the following example a string
167+
/// conversion, known as `Deref` coercion. In the following example a string
168168
/// slice `&'a str` implements the trait `TraitExample`, and the function
169169
/// `example_func` takes anything that implements the trait. In this case Rust
170170
/// would need to make two implicit conversions, which Rust doesn't have the

0 commit comments

Comments
 (0)