]> git.lizzy.rs Git - rust.git/commitdiff
Remove broken links to self in Into documentation
authorChris Gregory <czipperz@gmail.com>
Sat, 13 Apr 2019 15:38:06 +0000 (10:38 -0500)
committerChris Gregory <czipperz@gmail.com>
Sat, 13 Apr 2019 15:38:06 +0000 (10:38 -0500)
src/libcore/convert.rs

index e981001bd6415f8bcea4d6c6523ae8d331b2844b..2498159edc70869e63342716cc5af80a8248aa57 100644 (file)
@@ -203,9 +203,9 @@ pub trait AsMut<T: ?Sized> {
 /// A value-to-value conversion that consumes the input value. The
 /// opposite of [`From`].
 ///
-/// One should only implement [`Into`] if a conversion to a type outside the current crate is
-/// required. Otherwise one should always prefer implementing [`From`] over [`Into`] because
-/// implementing [`From`] automatically provides one with a implementation of [`Into`] thanks to
+/// One should only implement `Into` if a conversion to a type outside the current crate is
+/// required. Otherwise one should always prefer implementing [`From`] over `Into` because
+/// implementing [`From`] automatically provides one with a implementation of `Into` thanks to
 /// the blanket implementation in the standard library. [`From`] cannot do these type of
 /// conversions because of Rust's orphaning rules.
 ///
@@ -214,7 +214,7 @@ pub trait AsMut<T: ?Sized> {
 /// # Generic Implementations
 ///
 /// - [`From`]`<T> for U` implies `Into<U> for T`
-/// - [`Into`] is reflexive, which means that `Into<T> for T` is implemented
+/// - `Into` is reflexive, which means that `Into<T> for T` is implemented
 ///
 /// # Implementing `Into` for conversions to external types
 ///