about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-07-18 11:29:46 -0400
committerGitHub <noreply@github.com>2019-07-18 11:29:46 -0400
commitd961eb6034c19011905b806a8610a3b3346f6ea7 (patch)
tree549b0ab376b4c5d67e81878acbec806fe8b7a876
parent5d4681f76a700117c01b6203edfd6ff02e36ddab (diff)
parent6471bd5f199a2825b23082a26574b1c26970b0e4 (diff)
downloadrust-d961eb6034c19011905b806a8610a3b3346f6ea7.tar.gz
rust-d961eb6034c19011905b806a8610a3b3346f6ea7.zip
Rollup merge of #62740 - lzutao:patch-2, r=alexcrichton
Add missing link to Infallible in TryFrom doc
-rw-r--r--src/libcore/convert.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/convert.rs b/src/libcore/convert.rs
index c0de8e2ceb3..db3dde3fea6 100644
--- a/src/libcore/convert.rs
+++ b/src/libcore/convert.rs
@@ -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.