Skip to content

Commit 077234d

Browse files
committed
Removed false clippy cast_ptr_alignment issue
1 parent 26d6d34 commit 077234d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sys/fanotify.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,7 @@ impl Fanotify {
583583
/// In particular, `EAGAIN` is returned when no event is available on a
584584
/// group that has been initialized with the flag `InitFlags::FAN_NONBLOCK`,
585585
/// thus making this method nonblocking.
586+
#[allow(clippy::cast_ptr_alignment)] // False positive
586587
pub fn read_events_with_info_records(
587588
&self,
588589
) -> Result<Vec<(FanotifyEvent, Vec<FanotifyInfoRecord>)>> {

0 commit comments

Comments
 (0)