mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
Enabled unzip_option feature for core tests & unzip docs
This commit is contained in:
parent
eea3520a8f
commit
9d8081e8b6
@ -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)>;
|
||||||
///
|
///
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user