From 6471bd5f199a2825b23082a26574b1c26970b0e4 Mon Sep 17 00:00:00 2001 From: lzutao Date: Wed, 17 Jul 2019 10:44:12 +0700 Subject: [PATCH] Add missing link to Infallible in TryFrom doc --- src/libcore/convert.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcore/convert.rs b/src/libcore/convert.rs index c0de8e2ceb3f3..db3dde3fea6bd 100644 --- a/src/libcore/convert.rs +++ b/src/libcore/convert.rs @@ -477,6 +477,7 @@ pub trait TryInto: 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: Sized { /// The type returned in the event of a conversion error.