mirror of https://github.com/stelzo/typst.git
revert from nightly
This commit is contained in:
parent
ef6715c336
commit
2075875422
|
|
@ -440,7 +440,7 @@ impl PartialEq for Func {
|
|||
impl PartialEq<&NativeFuncData> for Func {
|
||||
fn eq(&self, other: &&NativeFuncData) -> bool {
|
||||
match &self.repr {
|
||||
Repr::Native(native) => std::ptr::fn_addr_eq(native.function, other.function),
|
||||
Repr::Native(native) => native.function == other.function,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue