We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16bcbcd commit 32aec87Copy full SHA for 32aec87
src/control/mod.rs
@@ -1144,8 +1144,6 @@ impl Iterator for Events {
1144
self.i += event.length as usize;
1145
match event.type_ {
1146
ffi::DRM_EVENT_VBLANK => {
1147
- #[allow(unknown_lints)]
1148
- #[allow(invalid_reference_casting)]
1149
let vblank_event = unsafe {
1150
std::ptr::read_unaligned(event_ptr as *const ffi::drm_event_vblank)
1151
};
@@ -1161,8 +1159,6 @@ impl Iterator for Events {
1161
1159
}))
1162
1160
}
1163
ffi::DRM_EVENT_FLIP_COMPLETE => {
1164
1165
1166
1167
1168
0 commit comments