File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -203,9 +203,9 @@ pub trait AsMut<T: ?Sized> {
203203/// A value-to-value conversion that consumes the input value. The
204204/// opposite of [`From`].
205205///
206- /// One should only implement [ `Into`] if a conversion to a type outside the current crate is
207- /// required. Otherwise one should always prefer implementing [`From`] over [ `Into`] because
208- /// implementing [`From`] automatically provides one with a implementation of [ `Into`] thanks to
206+ /// One should only implement `Into` if a conversion to a type outside the current crate is
207+ /// required. Otherwise one should always prefer implementing [`From`] over `Into` because
208+ /// implementing [`From`] automatically provides one with a implementation of `Into` thanks to
209209/// the blanket implementation in the standard library. [`From`] cannot do these type of
210210/// conversions because of Rust's orphaning rules.
211211///
@@ -214,7 +214,7 @@ pub trait AsMut<T: ?Sized> {
214214/// # Generic Implementations
215215///
216216/// - [`From`]`<T> for U` implies `Into<U> for T`
217- /// - [ `Into`] is reflexive, which means that `Into<T> for T` is implemented
217+ /// - `Into` is reflexive, which means that `Into<T> for T` is implemented
218218///
219219/// # Implementing `Into` for conversions to external types
220220///
You can’t perform that action at this time.
0 commit comments