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] {
66
66
#[ rustc_const_stable( feature = "const_slice_len" , since = "1.32.0" ) ]
67
67
#[ inline]
68
68
// SAFETY: const sound because we transmute out the length field as a usize (which it must be)
69
- #[ allow( unused_attributes) ]
70
69
#[ allow_internal_unstable( const_fn_union) ]
71
70
pub const fn len ( & self ) -> usize {
72
71
// SAFETY: this is safe because `&[T]` and `FatPtr<T>` have the same layout.
Original file line number Diff line number Diff line change 9
9
#![ stable( feature = "raw_os" , since = "1.1.0" ) ]
10
10
11
11
#[ cfg( test) ]
12
- #[ allow( unused_imports) ]
13
12
mod tests;
14
13
15
14
#[ doc( include = "char.md" ) ]
Original file line number Diff line number Diff line change 1
1
use crate :: any:: TypeId ;
2
- use crate :: mem;
3
2
4
3
macro_rules! ok {
5
4
( $( $t: ident) * ) => { $(
You can’t perform that action at this time.
0 commit comments