Skip to content

Commit 9d8081e

Browse files
committed
Enabled unzip_option feature for core tests & unzip docs
1 parent eea3520 commit 9d8081e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

library/core/src/option.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1408,6 +1408,8 @@ impl<T, U> Option<(T, U)> {
14081408
/// # Examples
14091409
///
14101410
/// ```
1411+
/// #![feature(unzip_option)]
1412+
///
14111413
/// let x = Some((1, "hi"));
14121414
/// let y = None::<(u8, u32)>;
14131415
///

library/core/tests/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
#![feature(slice_group_by)]
6767
#![feature(trusted_random_access)]
6868
#![feature(unsize)]
69+
#![feature(unzip_option)]
6970
#![deny(unsafe_op_in_unsafe_fn)]
7071

7172
extern crate test;

0 commit comments

Comments
 (0)