We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc6f394 commit 72afe51Copy full SHA for 72afe51
src/libcore/convert.rs
@@ -413,6 +413,9 @@ pub trait TryInto<T>: Sized {
413
/// As described, [`i32`] implements `TryFrom<i64>`:
414
///
415
/// ```
416
+/// #![feature(try_from)]
417
+/// use std::convert::TryFrom;
418
+///
419
/// let big_number = 1_000_000_000_000i64;
420
/// // Silently truncates `big_number`, requires detecting
421
/// // and handling the truncation after the fact.
0 commit comments