Skip to content

Commit

Permalink
sys: disable function ptr lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeissl committed Dec 14, 2024
1 parent b07d3f3 commit 2ff8a99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wayland-sys/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ pub mod signal {
// Safety: the signal pointer is valid
unsafe {
list_for_each!(l, &mut (*signal).listener_list as *mut wl_list, wl_listener, link, {
#[allow(unpredictable_function_pointer_comparisons)]

Check failure on line 254 in wayland-sys/src/server.rs

View workflow job for this annotation

GitHub Actions / clippy-check

unknown lint: `unpredictable_function_pointer_comparisons`

Check failure on line 254 in wayland-sys/src/server.rs

View workflow job for this annotation

GitHub Actions / clippy-check

unknown lint: `unpredictable_function_pointer_comparisons`
if (*l).notify == notify {
return l;
}
Expand Down

0 comments on commit 2ff8a99

Please sign in to comment.