You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove the PartialEq and Eq implementations from SigHandler
Because it never worked reliably anyway. See
https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html for more
info.
Alternatively, we could only remove `Eq` and leave `PartialEq`. We
would be able to guarantee equality or inequality in most cases, but
would be unable to prove that different handler functions are actually
different. I think users would find that confusing.
Reported by: Clippy (unpredictable_function_pointer_comparisons)
0 commit comments