File tree Expand file tree Collapse file tree 3 files changed +0
-3
lines changed Expand file tree Collapse file tree 3 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ impl<T> [T] {
6666 #[ rustc_const_stable( feature = "const_slice_len" , since = "1.32.0" ) ]
6767 #[ inline]
6868 // SAFETY: const sound because we transmute out the length field as a usize (which it must be)
69- #[ allow( unused_attributes) ]
7069 #[ allow_internal_unstable( const_fn_union) ]
7170 pub const fn len ( & self ) -> usize {
7271 // SAFETY: this is safe because `&[T]` and `FatPtr<T>` have the same layout.
Original file line number Diff line number Diff line change 99#![ stable( feature = "raw_os" , since = "1.1.0" ) ]
1010
1111#[ cfg( test) ]
12- #[ allow( unused_imports) ]
1312mod tests;
1413
1514#[ doc( include = "char.md" ) ]
Original file line number Diff line number Diff line change 11use crate :: any:: TypeId ;
2- use crate :: mem;
32
43macro_rules! ok {
54 ( $( $t: ident) * ) => { $(
You can’t perform that action at this time.
0 commit comments