Rollup merge of #119598 - Laura7089:fix/deref-typo, r=Nilstrieb

Fix a typo in core::ops::Deref's doc
This commit is contained in:
Matthias Krüger 2024-01-09 00:19:33 +01:00 committed by GitHub
commit 668e8b5541
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.