mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 23:08:05 +08:00
Hash a type based on its name because the id could be empty (#1031)
This commit is contained in:
committed by
Keavon Chambers
parent
7071aabba8
commit
761cec54ef
@@ -51,7 +51,7 @@ pub struct TypeDescriptor {
|
||||
|
||||
impl core::hash::Hash for TypeDescriptor {
|
||||
fn hash<H: core::hash::Hasher>(&self, state: &mut H) {
|
||||
self.id.hash(state);
|
||||
self.name.hash(state);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user