Add new traits to 2021 prelude.
This commit is contained in:
parent
e37ef7a842
commit
04a4a8225b
1 changed files with 7 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue