Skip to content

Commit 0641e23

Browse files
hoshinolinajannau
authored andcommitted
rust: Enable clippy::undocumented_unsafe_blocks lint
Signed-off-by: Asahi Lina <lina@asahilina.net>
1 parent 8c5dbcd commit 0641e23

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rust/kernel/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#![feature(const_mut_refs)]
3030
#![feature(const_ptr_write)]
3131
#![feature(const_maybe_uninit_as_mut_ptr)]
32+
#![warn(clippy::undocumented_unsafe_blocks)]
3233

3334
// Ensure conditional compilation based on the kernel configuration works;
3435
// otherwise we may silently break things like initcall handling.

0 commit comments

Comments
 (0)