Skip to content

Commit ba4f310

Browse files
committed
Revert "Add TryFrom and TryInto to the prelude"
This reverts commit 09008cc.
1 parent 051050d commit ba4f310

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/libcore/prelude/v1.rs

-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ pub use cmp::{PartialEq, PartialOrd, Eq, Ord};
3939
#[stable(feature = "core_prelude", since = "1.4.0")]
4040
#[doc(no_inline)]
4141
pub use convert::{AsRef, AsMut, Into, From};
42-
#[stable(feature = "try_from", since = "1.26.0")]
43-
#[doc(no_inline)]
44-
pub use convert::{TryFrom, TryInto};
4542
#[stable(feature = "core_prelude", since = "1.4.0")]
4643
#[doc(no_inline)]
4744
pub use default::Default;

src/libstd/prelude/v1.rs

-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
#[doc(no_inline)] pub use cmp::{PartialEq, PartialOrd, Eq, Ord};
3636
#[stable(feature = "rust1", since = "1.0.0")]
3737
#[doc(no_inline)] pub use convert::{AsRef, AsMut, Into, From};
38-
#[stable(feature = "try_from", since = "1.26.0")]
39-
#[doc(no_inline)] pub use convert::{TryFrom, TryInto};
4038
#[stable(feature = "rust1", since = "1.0.0")]
4139
#[doc(no_inline)] pub use default::Default;
4240
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)