File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 94
94
// tidy-alphabetical-start
95
95
#![ cfg_attr( kani, feature( kani) ) ]
96
96
#![ cfg_attr( kani, feature( proc_macro_hygiene) ) ]
97
- #![ cfg_attr( kani, feature( stmt_expr_attributes) ) ]
98
97
#![ feature( alloc_layout_extra) ]
99
98
#![ feature( allocator_api) ]
100
99
#![ feature( array_into_iter_constructors) ]
Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ use core::borrow::{Borrow, BorrowMut};
14
14
use core:: cmp:: Ordering :: { self , Less } ;
15
15
#[ cfg( kani) ]
16
16
use core:: kani;
17
- #[ cfg( kani) ]
18
- use core:: kani;
19
17
#[ cfg( not( no_global_oom_handling) ) ]
20
18
use core:: mem:: MaybeUninit ;
21
19
#[ cfg( kani) ]
@@ -541,7 +539,7 @@ impl<T> [T] {
541
539
unsafe { * len_ptr <= T :: MAX_SLICE_LEN } &&
542
540
unsafe { * len_ptr <= capacity} &&
543
541
m. leading_zeros( ) > n. leading_zeros( ) &&
544
- unsafe { * len_ptr == sef . len( ) * ( 1usize << ( m. leading_zeros( ) - n. leading_zeros( ) - 1 ) ) }
542
+ unsafe { * len_ptr == self . len( ) * ( 1usize << ( m. leading_zeros( ) - n. leading_zeros( ) - 1 ) ) }
545
543
) ) ]
546
544
#[ cfg_attr( kani, kani:: loop_modifies( & m, buf_ptr, len_ptr) ) ]
547
545
while m > 0 {
You can’t perform that action at this time.
0 commit comments