File tree Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: GPL-2.0
2
+
3
+ check-private-items = true
Original file line number Diff line number Diff line change 1
1
#![ allow( clippy:: undocumented_unsafe_blocks) ]
2
2
#![ cfg_attr( feature = "alloc" , feature( allocator_api) ) ]
3
+ #![ allow( clippy:: missing_safety_doc) ]
3
4
4
5
use core:: {
5
6
cell:: { Cell , UnsafeCell } ,
Original file line number Diff line number Diff line change 61
61
pub unsafe trait HasPinData {
62
62
type PinData : PinData ;
63
63
64
+ #[ allow( clippy:: missing_safety_doc) ]
64
65
unsafe fn __pin_data ( ) -> Self :: PinData ;
65
66
}
66
67
@@ -90,6 +91,7 @@ pub unsafe trait PinData: Copy {
90
91
pub unsafe trait HasInitData {
91
92
type InitData : InitData ;
92
93
94
+ #[ allow( clippy:: missing_safety_doc) ]
93
95
unsafe fn __init_data ( ) -> Self :: InitData ;
94
96
}
95
97
Original file line number Diff line number Diff line change @@ -989,6 +989,7 @@ macro_rules! __pin_data {
989
989
//
990
990
// The functions are `unsafe` to prevent accidentally calling them.
991
991
#[ allow( dead_code) ]
992
+ #[ allow( clippy:: missing_safety_doc) ]
992
993
impl <$( $impl_generics) * > $pin_data<$( $ty_generics) * >
993
994
where $( $whr) *
994
995
{
You can’t perform that action at this time.
0 commit comments