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> {
203
203
/// A value-to-value conversion that consumes the input value. The
204
204
/// opposite of [`From`].
205
205
///
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
209
209
/// the blanket implementation in the standard library. [`From`] cannot do these type of
210
210
/// conversions because of Rust's orphaning rules.
211
211
///
@@ -214,7 +214,7 @@ pub trait AsMut<T: ?Sized> {
214
214
/// # Generic Implementations
215
215
///
216
216
/// - [`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
218
218
///
219
219
/// # Implementing `Into` for conversions to external types
220
220
///
You can’t perform that action at this time.
0 commit comments