File tree 5 files changed +1
-6
lines changed
5 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 11
11
#![ feature( associated_type_bounds) ]
12
12
#![ feature( binary_heap_into_iter_sorted) ]
13
13
#![ feature( binary_heap_drain_sorted) ]
14
- #![ feature( vec_remove_item) ]
15
14
16
15
use std:: collections:: hash_map:: DefaultHasher ;
17
16
use std:: hash:: { Hash , Hasher } ;
Original file line number Diff line number Diff line change @@ -1696,14 +1696,13 @@ impl<T> Vec<T> {
1696
1696
/// # Examples
1697
1697
///
1698
1698
/// ```
1699
- /// # #![feature(vec_remove_item)]
1700
1699
/// let mut vec = vec![1, 2, 3, 1];
1701
1700
///
1702
1701
/// vec.remove_item(&1);
1703
1702
///
1704
1703
/// assert_eq!(vec, vec![2, 3, 1]);
1705
1704
/// ```
1706
- #[ unstable ( feature = "vec_remove_item" , reason = "recently added" , issue = "40062 ") ]
1705
+ #[ stable ( feature = "vec_remove_item" , since = "1.42.0 " ) ]
1707
1706
pub fn remove_item < V > ( & mut self , item : & V ) -> Option < T >
1708
1707
where
1709
1708
T : PartialEq < V > ,
Original file line number Diff line number Diff line change 50
50
#![ feature( thread_local) ]
51
51
#![ feature( trace_macros) ]
52
52
#![ feature( trusted_len) ]
53
- #![ feature( vec_remove_item) ]
54
53
#![ feature( stmt_expr_attributes) ]
55
54
#![ feature( integer_atomics) ]
56
55
#![ feature( test) ]
Original file line number Diff line number Diff line change 10
10
#![ feature( nll) ]
11
11
#![ feature( set_stdio) ]
12
12
#![ feature( test) ]
13
- #![ feature( vec_remove_item) ]
14
13
#![ feature( ptr_offset_from) ]
15
14
#![ feature( crate_visibility_modifier) ]
16
15
#![ feature( const_fn) ]
Original file line number Diff line number Diff line change 1
1
#![ crate_name = "compiletest" ]
2
2
#![ feature( test) ]
3
- #![ feature( vec_remove_item) ]
4
3
#![ deny( warnings) ]
5
4
6
5
extern crate test;
You can’t perform that action at this time.
0 commit comments