mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
start salsa migration
This commit is contained in:
parent
93d77e9b22
commit
d8aee31a60
8 changed files with 226 additions and 105 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue