Skip to content

Commit 668e8b5

Browse files
authored
Rollup merge of #119598 - Laura7089:fix/deref-typo, r=Nilstrieb
Fix a typo in core::ops::Deref's doc
2 parents 70e3f8d + 648c70e commit 668e8b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ops/deref.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
/// implementation is still specific in this sense; for example, [`Vec<T>`][vec]
7171
/// dereferences to `[T]`, so methods of `T` are not applicable.
7272
///
73-
/// Consider also that deref coericion means that deref traits are a much larger
73+
/// Consider also that deref coercion means that deref traits are a much larger
7474
/// part of a type's public API than any other trait as it is implicitly called
7575
/// by the compiler. Therefore, it is advisable to consider whether this is
7676
/// something you are comfortable supporting as a public API.

0 commit comments

Comments
 (0)