Skip to content

Commit 32aec87

Browse files
tronicalDrakulix
authored andcommitted
Remove hopefully unnecessary lint guards
1 parent 16bcbcd commit 32aec87

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/control/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,8 +1144,6 @@ impl Iterator for Events {
11441144
self.i += event.length as usize;
11451145
match event.type_ {
11461146
ffi::DRM_EVENT_VBLANK => {
1147-
#[allow(unknown_lints)]
1148-
#[allow(invalid_reference_casting)]
11491147
let vblank_event = unsafe {
11501148
std::ptr::read_unaligned(event_ptr as *const ffi::drm_event_vblank)
11511149
};
@@ -1161,8 +1159,6 @@ impl Iterator for Events {
11611159
}))
11621160
}
11631161
ffi::DRM_EVENT_FLIP_COMPLETE => {
1164-
#[allow(unknown_lints)]
1165-
#[allow(invalid_reference_casting)]
11661162
let vblank_event = unsafe {
11671163
std::ptr::read_unaligned(event_ptr as *const ffi::drm_event_vblank)
11681164
};

0 commit comments

Comments
 (0)