Slowly figuring out how rustdoc actually works.

Unfortunately trying to run doctests on my local machine is
not really faster than letting Travis do it...
This commit is contained in:
Simon Heath 2019-02-14 09:19:03 -05:00 committed by Simon Sapin
parent cc6f394d6f
commit 72afe51d81

View file

@ -413,6 +413,9 @@ pub trait TryInto<T>: Sized {
/// As described, [`i32`] implements `TryFrom<i64>`:
///
/// ```
/// #![feature(try_from)]
/// use std::convert::TryFrom;
///
/// let big_number = 1_000_000_000_000i64;
/// // Silently truncates `big_number`, requires detecting
/// // and handling the truncation after the fact.