Skip to content

Commit c9c3e7e

Browse files
authoredJan 9, 2024
Unrolled build for rust-lang#119598
Rollup merge of rust-lang#119598 - Laura7089:fix/deref-typo, r=Nilstrieb Fix a typo in core::ops::Deref's doc
2 parents ca663b0 + 648c70e commit c9c3e7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎library/core/src/ops/deref.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
/// implementation is still specific in this sense; for example, [`Vec<T>`][vec]
7171
/// dereferences to `[T]`, so methods of `T` are not applicable.
7272
///
73-
/// Consider also that deref coericion means that deref traits are a much larger
73+
/// Consider also that deref coercion means that deref traits are a much larger
7474
/// part of a type's public API than any other trait as it is implicitly called
7575
/// by the compiler. Therefore, it is advisable to consider whether this is
7676
/// something you are comfortable supporting as a public API.

0 commit comments

Comments
 (0)