Skip to content

Commit afc2af8

Browse files
committed
uefi: streamline lints
This is okay as we have those as listed under `deny` in `uefi-raw` as well and we have "-D warnings" in CI anyway (ignoring the temporary workaround
1 parent 7d61816 commit afc2af8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

uefi/src/lib.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,16 @@
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")]
101102
extern crate alloc;

0 commit comments

Comments
 (0)