start salsa migration

This commit is contained in:
Aleksey Kladov 2018-10-07 13:18:25 +03:00
parent 93d77e9b22
commit d8aee31a60
8 changed files with 226 additions and 105 deletions

View file

@ -17,6 +17,15 @@ pub(crate) struct SymbolIndex {
map: fst::Map,
}
impl PartialEq for SymbolIndex {
fn eq(&self, other: &SymbolIndex) -> bool {
self.symbols == other.symbols
}
}
impl Eq for SymbolIndex {
}
impl Hash for SymbolIndex {
fn hash<H: Hasher>(&self, hasher: &mut H) {
self.symbols.hash(hasher)