(&self, other: &Self)
| 102 | |
| 103 | impl std::cmp::Ord for SynonymEntry { |
| 104 | fn cmp(&self, other: &Self) -> std::cmp::Ordering { |
| 105 | (self.name.len(), &self.name, &self.id).cmp(&(other.name.len(), &other.name, &other.id)) |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | #[derive(Debug, Eq, PartialEq)] |