Skip to content

Commit fae59a0

Browse files
CoAlloc: Fixed previous sick result of: tidy --bless
1 parent 4822feb commit fae59a0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

library/alloc/src/vec/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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)]
33373335
impl<T> const Default for Vec<T> {
33383336
/// Creates an empty `Vec<T>`.
33393337
///

0 commit comments

Comments
 (0)