Skip to content

Commit

Permalink
Fix a typo in core::ops::Deref's doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Laura7089 committed Jan 5, 2024
1 parent f688dd6 commit 648c70e
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 648c70e

Please sign in to comment.