Skip to content

Commit 5dcce51

Browse files
author
Stjepan Glavina
committed
Fix the failing tests
1 parent 9377340 commit 5dcce51

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/libcore/cell.rs

+2
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,8 @@ impl<T:Copy> Cell<T> {
262262
/// # Examples
263263
///
264264
/// ```
265+
/// #![feature(cell_update)]
266+
///
265267
/// use std::cell::Cell;
266268
///
267269
/// let c = Cell::new(5);

src/libcore/tests/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#![feature(ascii_ctype)]
1414
#![feature(box_syntax)]
15+
#![feature(cell_update)]
1516
#![feature(core_float)]
1617
#![feature(core_private_bignum)]
1718
#![feature(core_private_diy_float)]

0 commit comments

Comments
 (0)