diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-01-09 00:19:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-09 00:19:33 +0100 |
| commit | 668e8b5541bbb38ae098eb6ef532f878088bca5b (patch) | |
| tree | 095ef4e37be809b93bd785a0cb9cef0461cdb103 | |
| parent | 70e3f8d240ea6454be252db5d335d1f5bcb86764 (diff) | |
| parent | 648c70ef584c80adc7a71ac671837c9a66072b93 (diff) | |
Rollup merge of #119598 - Laura7089:fix/deref-typo, r=Nilstrieb
Fix a typo in core::ops::Deref's doc
| -rw-r--r-- | library/core/src/ops/deref.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ops/deref.rs b/library/core/src/ops/deref.rs index 99adbb91599..2c7845d4304 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<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. |
