Skip to content

Commit

Permalink
Unrolled build for rust-lang#119598
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#119598 - Laura7089:fix/deref-typo, r=Nilstrieb

Fix a typo in core::ops::Deref's doc
  • Loading branch information
rust-timer committed Jan 9, 2024
2 parents ca663b0 + 648c70e commit c9c3e7e
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 c9c3e7e

Please sign in to comment.