Added missing Eq (#645)

This commit is contained in:
Dominik Maier 2022-05-22 23:36:18 +02:00 committed by GitHub
parent f3fd6caf0b
commit b7650f7683
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ use crate::{
struct FatPtr(*const c_void, *const c_void);
// all kinds of hooks
#[derive(PartialEq, Clone, Copy)]
#[derive(Clone, Copy, PartialEq, Eq)]
enum Hook {
Function(*const c_void),
Closure(FatPtr),