Skip to content

Commit 3eb8514

Browse files
hoshinolinajannau
authored andcommitted
rust: Enable clippy::undocumented_unsafe_blocks lint
Signed-off-by: Asahi Lina <lina@asahilina.net>
1 parent 539b756 commit 3eb8514

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
@@ -22,6 +22,7 @@
2222
#![feature(receiver_trait)]
2323
#![feature(type_alias_impl_trait)]
2424
#![feature(unsize)]
25+
#![warn(clippy::undocumented_unsafe_blocks)]
2526

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

0 commit comments

Comments
 (0)