]> git.lizzy.rs Git - rust.git/commitdiff
Add missing link to Infallible in TryFrom doc
authorlzutao <taolzu@gmail.com>
Wed, 17 Jul 2019 03:44:12 +0000 (10:44 +0700)
committerGitHub <noreply@github.com>
Wed, 17 Jul 2019 03:44:12 +0000 (10:44 +0700)
src/libcore/convert.rs

index c0de8e2ceb3f38b33802d52d0e1dbf87851e1a7b..db3dde3fea6bd66948dceda916ba69c8622024a8 100644 (file)
@@ -477,6 +477,7 @@ pub trait TryInto<T>: Sized {
 /// [`TryInto`]: trait.TryInto.html
 /// [`i32::MAX`]: ../../std/i32/constant.MAX.html
 /// [`!`]: ../../std/primitive.never.html
+/// [`Infallible`]: enum.Infallible.html
 #[stable(feature = "try_from", since = "1.34.0")]
 pub trait TryFrom<T>: Sized {
     /// The type returned in the event of a conversion error.