Skip to content

Commit

Permalink
Rollup merge of rust-lang#62740 - lzutao:patch-2, r=alexcrichton
Browse files Browse the repository at this point in the history
Add missing link to Infallible in TryFrom doc
  • Loading branch information
Mark-Simulacrum authored Jul 18, 2019
2 parents 5d4681f + 6471bd5 commit d961eb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcore/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d961eb6

Please sign in to comment.