Enabled unzip_option feature for core tests & unzip docs

This commit is contained in:
Chase Wilson 2021-07-31 18:16:34 -05:00
parent eea3520a8f
commit 9d8081e8b6
No known key found for this signature in database
GPG Key ID: 190140C6730EB7E1
2 changed files with 3 additions and 0 deletions

View File

@ -1408,6 +1408,8 @@ impl<T, U> Option<(T, U)> {
/// # Examples /// # Examples
/// ///
/// ``` /// ```
/// #![feature(unzip_option)]
///
/// let x = Some((1, "hi")); /// let x = Some((1, "hi"));
/// let y = None::<(u8, u32)>; /// let y = None::<(u8, u32)>;
/// ///

View File

@ -66,6 +66,7 @@
#![feature(slice_group_by)] #![feature(slice_group_by)]
#![feature(trusted_random_access)] #![feature(trusted_random_access)]
#![feature(unsize)] #![feature(unsize)]
#![feature(unzip_option)]
#![deny(unsafe_op_in_unsafe_fn)] #![deny(unsafe_op_in_unsafe_fn)]
extern crate test; extern crate test;