Skip to content

Commit 03bfedb

Browse files
committed
fix tests
1 parent 188c401 commit 03bfedb

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

library/alloc/src/vec/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,7 @@ impl<T> Vec<T> {
747747
/// Basic usage:
748748
///
749749
/// ```
750+
/// #![feature(vec_peek_mut)]
750751
/// let mut vec = Vec::new();
751752
/// assert!(vec.peek_mut().is_none());
752753
///

library/alloctests/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
#![feature(trusted_random_access)]
4343
#![feature(try_reserve_kind)]
4444
#![feature(try_trait_v2)]
45-
#![feature(vec_peek_mut)]
4645
// tidy-alphabetical-end
4746
//
4847
// Language features:

library/alloctests/tests/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
#![feature(vec_deque_truncate_front)]
4141
#![feature(unique_rc_arc)]
4242
#![feature(macro_metavar_expr_concat)]
43+
#![feature(vec_peek_mut)]
4344
#![allow(internal_features)]
4445
#![deny(fuzzy_provenance_casts)]
4546
#![deny(unsafe_op_in_unsafe_fn)]

0 commit comments

Comments
 (0)