Skip to content

Commit

Permalink
Rollup merge of #119598 - Laura7089:fix/deref-typo, r=Nilstrieb
Browse files Browse the repository at this point in the history
Fix a typo in core::ops::Deref's doc
  • Loading branch information
matthiaskrgr authored Jan 8, 2024
2 parents 70e3f8d + 648c70e commit 668e8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/ops/deref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
/// implementation is still specific in this sense; for example, [`Vec<T>`][vec]
/// dereferences to `[T]`, so methods of `T` are not applicable.
///
/// Consider also that deref coericion means that deref traits are a much larger
/// Consider also that deref coercion means that deref traits are a much larger
/// part of a type's public API than any other trait as it is implicitly called
/// by the compiler. Therefore, it is advisable to consider whether this is
/// something you are comfortable supporting as a public API.
Expand Down

0 comments on commit 668e8b5

Please sign in to comment.