Unified · Split
| @@ -182,7 +182,9 @@ mod types { · 181 unmodified lines | |||
| 182 | 182 | ||
| 183 | impl std::hash::Hash for $name<'_> { | 183 | impl std::hash::Hash for $name<'_> { |
| 184 | fn hash<H: std::hash::Hasher>(&self, state: &mut H) { | 184 | fn hash<H: std::hash::Hasher>(&self, state: &mut H) { |
| 185 | self.0.to_ascii_lowercase().hash(state) | 185 | for b in self.0.iter() { |
| 186 | b.to_ascii_lowercase().hash(state); | ||
| 187 | } | ||
| 186 | } | 188 | } |
| 187 | } | 189 | } |
| 188 | 190 | ||