Skip to content

Commit

Permalink
fix: unpredictable_function_pointer_comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
zzau13 committed Dec 7, 2024
1 parent 8141c4b commit 535a649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/bsd/freebsdlike/freebsd/x86_64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ cfg_if! {
unsafe {
self.a_val == other.a_val
|| self.a_ptr == other.a_ptr
|| self.a_fcn == other.a_fcn
|| core::ptr::fn_addr_eq(self.a_fcn, other.a_fcn)
}
}
}
Expand Down

0 comments on commit 535a649

Please sign in to comment.