mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Add new traits to 2021 prelude.
This commit is contained in:
parent
e37ef7a842
commit
04a4a8225b
@ -37,5 +37,11 @@ pub mod rust_2021 {
|
||||
#[doc(no_inline)]
|
||||
pub use super::v1::*;
|
||||
|
||||
// FIXME: Add more things.
|
||||
#[unstable(feature = "prelude_2021", issue = "85684")]
|
||||
#[doc(no_inline)]
|
||||
pub use crate::iter::FromIterator;
|
||||
|
||||
#[unstable(feature = "prelude_2021", issue = "85684")]
|
||||
#[doc(no_inline)]
|
||||
pub use crate::convert::{TryFrom, TryInto};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user