Skip to content

Commit a180674

Browse files
bors[bot]matklad
andcommitted
Merge #789
789: remove useless hash r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2 parents af62fde + dc95109 commit a180674

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

crates/ra_hir/src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use ra_syntax::{
1717
use crate::{MacroCallId, PersistentHirDatabase};
1818

1919
// Hard-coded defs for now :-(
20-
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
20+
#[derive(Debug, Clone, PartialEq, Eq)]
2121
pub enum MacroDef {
2222
Vec,
2323
QueryGroup,

crates/ra_hir/src/module_tree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ pub struct ModuleTree {
115115
links: Arena<LinkId, LinkData>,
116116
}
117117

118-
#[derive(Debug, PartialEq, Eq, Hash)]
118+
#[derive(Debug, PartialEq, Eq)]
119119
pub struct ModuleData {
120120
file_id: HirFileId,
121121
/// Points to `ast::Module`, `None` for the whole file.

crates/ra_mbe/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub use tt::{Delimiter, Punct};
2626

2727
pub use crate::syntax_bridge::ast_to_token_tree;
2828

29-
/// This struct contains AST for a single `macro_rules` defenition. What might
29+
/// This struct contains AST for a single `macro_rules` definition. What might
3030
/// be very confusing is that AST has almost exactly the same shape as
3131
/// `tt::TokenTree`, but there's a crucial difference: in macro rules, `$ident`
3232
/// and `$()*` have special meaning (see `Var` and `Repeat` data structures)

crates/ra_mbe/src/mbe_expander.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/// This module takes a (parsed) defenition of `macro_rules` invocation, a
1+
/// This module takes a (parsed) definition of `macro_rules` invocation, a
22
/// `tt::TokenTree` representing an argument of macro invocation, and produces a
33
/// `tt::TokenTree` for the result of the expansion.
44
use rustc_hash::FxHashMap;

0 commit comments

Comments
 (0)