revert from nightly

This commit is contained in:
stelzo 2025-02-13 00:40:55 +01:00
parent ef6715c336
commit 2075875422
No known key found for this signature in database
GPG Key ID: FC4EF89052319374
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ impl PartialEq for Func {
impl PartialEq<&NativeFuncData> for Func { impl PartialEq<&NativeFuncData> for Func {
fn eq(&self, other: &&NativeFuncData) -> bool { fn eq(&self, other: &&NativeFuncData) -> bool {
match &self.repr { match &self.repr {
Repr::Native(native) => std::ptr::fn_addr_eq(native.function, other.function), Repr::Native(native) => native.function == other.function,
_ => false, _ => false,
} }
} }