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
1875
1875
}
1876
1876
1877
1877
/* INVARIANT: vec.len() > read >= write > write-1 >= 0 */
1878
+ #[ allow( unused_braces) ]
1878
1879
struct FillGapOnDrop < ' a , T , A : core:: alloc:: Allocator , const CO_ALLOC_PREF : CoAllocPref >
1879
1880
where
1880
1881
[ ( ) ; { crate :: meta_num_slots!( A , CO_ALLOC_PREF ) } ] : ,
1881
1882
{
1882
- crate :: meta_num_slots!( A , CO_ALLOC_PREF ) } ] : ,
1883
- {
1884
1883
/* Offset of the element we want to check if it is duplicate */
1885
1884
read : usize ,
1886
1885
@@ -3333,7 +3332,6 @@ where
3333
3332
3334
3333
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
3335
3334
#[ rustc_const_unstable( feature = "const_default_impls" , issue = "87864" ) ]
3336
- #[ allow( unused_braces) ]
3337
3335
impl < T > const Default for Vec < T > {
3338
3336
/// Creates an empty `Vec<T>`.
3339
3337
///
You can’t perform that action at this time.
0 commit comments