File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -1875,12 +1875,11 @@ where
18751875 }
18761876
18771877 /* INVARIANT: vec.len() > read >= write > write-1 >= 0 */
1878+ #[ allow( unused_braces) ]
18781879 struct FillGapOnDrop < ' a , T , A : core:: alloc:: Allocator , const CO_ALLOC_PREF : CoAllocPref >
18791880 where
18801881 [ ( ) ; { crate :: meta_num_slots!( A , CO_ALLOC_PREF ) } ] : ,
18811882 {
1882- crate :: meta_num_slots!( A , CO_ALLOC_PREF ) } ] : ,
1883- {
18841883 /* Offset of the element we want to check if it is duplicate */
18851884 read : usize ,
18861885
@@ -3333,7 +3332,6 @@ where
33333332
33343333#[ stable( feature = "rust1" , since = "1.0.0" ) ]
33353334#[ rustc_const_unstable( feature = "const_default_impls" , issue = "87864" ) ]
3336- #[ allow( unused_braces) ]
33373335impl < T > const Default for Vec < T > {
33383336 /// Creates an empty `Vec<T>`.
33393337 ///
You can’t perform that action at this time.
0 commit comments