File tree Expand file tree Collapse file tree 5 files changed +1
-6
lines changed Expand file tree Collapse file tree 5 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 1111#![ feature( associated_type_bounds) ]
1212#![ feature( binary_heap_into_iter_sorted) ]
1313#![ feature( binary_heap_drain_sorted) ]
14- #![ feature( vec_remove_item) ]
1514
1615use std:: collections:: hash_map:: DefaultHasher ;
1716use std:: hash:: { Hash , Hasher } ;
Original file line number Diff line number Diff line change @@ -1696,14 +1696,13 @@ impl<T> Vec<T> {
16961696 /// # Examples
16971697 ///
16981698 /// ```
1699- /// # #![feature(vec_remove_item)]
17001699 /// let mut vec = vec![1, 2, 3, 1];
17011700 ///
17021701 /// vec.remove_item(&1);
17031702 ///
17041703 /// assert_eq!(vec, vec![2, 3, 1]);
17051704 /// ```
1706- #[ unstable ( feature = "vec_remove_item" , reason = "recently added" , issue = "40062 ") ]
1705+ #[ stable ( feature = "vec_remove_item" , since = "1.42.0 " ) ]
17071706 pub fn remove_item < V > ( & mut self , item : & V ) -> Option < T >
17081707 where
17091708 T : PartialEq < V > ,
Original file line number Diff line number Diff line change 5050#![ feature( thread_local) ]
5151#![ feature( trace_macros) ]
5252#![ feature( trusted_len) ]
53- #![ feature( vec_remove_item) ]
5453#![ feature( stmt_expr_attributes) ]
5554#![ feature( integer_atomics) ]
5655#![ feature( test) ]
Original file line number Diff line number Diff line change 1010#![ feature( nll) ]
1111#![ feature( set_stdio) ]
1212#![ feature( test) ]
13- #![ feature( vec_remove_item) ]
1413#![ feature( ptr_offset_from) ]
1514#![ feature( crate_visibility_modifier) ]
1615#![ feature( const_fn) ]
Original file line number Diff line number Diff line change 11#![ crate_name = "compiletest" ]
22#![ feature( test) ]
3- #![ feature( vec_remove_item) ]
43#![ deny( warnings) ]
54
65extern crate test;
You can’t perform that action at this time.
0 commit comments