From 28c554ec2185a15e22f0408ce485ed4afe035e03 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 28 Jan 2023 12:01:05 +0100 Subject: Rework math attachments and accents --- src/model/module.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/model/module.rs') diff --git a/src/model/module.rs b/src/model/module.rs index 6a1c60a5..954a84f0 100644 --- a/src/model/module.rs +++ b/src/model/module.rs @@ -78,3 +78,9 @@ impl Debug for Module { write!(f, "", self.name()) } } + +impl PartialEq for Module { + fn eq(&self, other: &Self) -> bool { + Arc::ptr_eq(&self.0, &other.0) + } +} -- cgit v1.2.3