Added missing Eq (#645)
This commit is contained in:
parent
f3fd6caf0b
commit
b7650f7683
@ -24,7 +24,7 @@ use crate::{
|
|||||||
struct FatPtr(*const c_void, *const c_void);
|
struct FatPtr(*const c_void, *const c_void);
|
||||||
|
|
||||||
// all kinds of hooks
|
// all kinds of hooks
|
||||||
#[derive(PartialEq, Clone, Copy)]
|
#[derive(Clone, Copy, PartialEq, Eq)]
|
||||||
enum Hook {
|
enum Hook {
|
||||||
Function(*const c_void),
|
Function(*const c_void),
|
||||||
Closure(FatPtr),
|
Closure(FatPtr),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user