remove useless hash

This commit is contained in:
Aleksey Kladov 2019-02-11 19:05:58 +03:00
parent af62fde57f
commit bbcd3566de
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ use ra_syntax::{
use crate::{MacroCallId, PersistentHirDatabase}; use crate::{MacroCallId, PersistentHirDatabase};
// Hard-coded defs for now :-( // Hard-coded defs for now :-(
#[derive(Debug, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Clone, PartialEq, Eq)]
pub enum MacroDef { pub enum MacroDef {
Vec, Vec,
QueryGroup, QueryGroup,

View File

@ -115,7 +115,7 @@ pub struct ModuleTree {
links: Arena<LinkId, LinkData>, links: Arena<LinkId, LinkData>,
} }
#[derive(Debug, PartialEq, Eq, Hash)] #[derive(Debug, PartialEq, Eq)]
pub struct ModuleData { pub struct ModuleData {
file_id: HirFileId, file_id: HirFileId,
/// Points to `ast::Module`, `None` for the whole file. /// Points to `ast::Module`, `None` for the whole file.