From 648c70ef584c80adc7a71ac671837c9a66072b93 Mon Sep 17 00:00:00 2001 From: Laura Demkowicz-Duffy Date: Fri, 5 Jan 2024 02:36:01 +0000 Subject: [PATCH] Fix a typo in core::ops::Deref's doc --- library/core/src/ops/deref.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/ops/deref.rs b/library/core/src/ops/deref.rs index 99adbb91599ac..2c7845d4304fd 100644 --- a/library/core/src/ops/deref.rs +++ b/library/core/src/ops/deref.rs @@ -70,7 +70,7 @@ /// implementation is still specific in this sense; for example, [`Vec`][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.