File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 8787#![ cfg_attr( all( feature = "unstable" , feature = "alloc" ) , feature( allocator_api) ) ]
8888#![ cfg_attr( docsrs, feature( doc_auto_cfg) ) ]
8989#![ no_std]
90- // Enable some additional warnings and lints.
91- #![ warn( clippy:: ptr_as_ptr, missing_docs, unused) ]
9290#![ deny(
9391 clippy:: all,
92+ clippy:: missing_const_for_fn,
9493 clippy:: must_use_candidate,
94+ clippy:: ptr_as_ptr,
9595 clippy:: use_self,
96- clippy:: missing_const_for_fn
96+ missing_debug_implementations,
97+ missing_docs,
98+ unused
9799) ]
98- #![ deny( missing_debug_implementations) ]
99100
100101#[ cfg( feature = "alloc" ) ]
101102extern crate alloc;
Original file line number Diff line number Diff line change 99//!
1010//! [`BootServices`]: crate::table::boot::BootServices#accessing-protocols
1111
12+ #![ warn( dead_code) ] // https://github.com/rust-osdev/uefi-rs/issues/1205
13+
1214use crate :: Identify ;
1315use core:: ffi:: c_void;
1416
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ use ptr_meta::Pointee;
2222use { crate :: mem:: make_boxed, alloc:: boxed:: Box } ;
2323
2424#[ cfg( all( feature = "unstable" , feature = "alloc" ) ) ]
25- use { alloc:: alloc:: Global , core :: alloc :: Allocator } ;
25+ use alloc:: alloc:: Global ;
2626
2727/// 20-byte SHA-1 digest.
2828pub type Sha1Digest = [ u8 ; 20 ] ;
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ use ptr_meta::{Pointee, PtrExt};
2525use { crate :: mem:: make_boxed, alloc:: boxed:: Box } ;
2626
2727#[ cfg( all( feature = "unstable" , feature = "alloc" ) ) ]
28- use { alloc:: alloc:: Global , core :: alloc :: Allocator } ;
28+ use alloc:: alloc:: Global ;
2929
3030/// Version information.
3131///
You can’t perform that action at this time.
0 commit comments