File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
doc-valid-idents = [" PnP" , " .." ]
2
+ accept-comment-above-statement = true
3
+ accept-comment-above-attributes = true
Original file line number Diff line number Diff line change @@ -446,10 +446,8 @@ pub mod object {
446
446
let handle = handle. as_handle ( ) ;
447
447
448
448
// SAFETY: `handle` validity assured by `AsObjectHandle`, and context info validity assured by `IntoContextSpace`
449
- let context_space = unsafe {
450
- // filler line as a work-around for https://github.com/rust-lang/rust-clippy/issues/10832
451
- crate :: raw:: WdfObjectGetTypedContextWorker ( handle, T :: CONTEXT_INFO )
452
- } ;
449
+ let context_space =
450
+ unsafe { crate :: raw:: WdfObjectGetTypedContextWorker ( handle, T :: CONTEXT_INFO ) } ;
453
451
454
452
if context_space. is_null ( ) {
455
453
// `context_space` is only NULL if `T` doesnt't have a context on the object
You can’t perform that action at this time.
0 commit comments