Skip to content

Commit c061a9e

Browse files
committed
Derive PartialEq, Eq & Hash for hir::Param
1 parent 0ac05c0 commit c061a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2088,7 +2088,7 @@ impl From<hir_ty::Mutability> for Access {
20882088
}
20892089
}
20902090

2091-
#[derive(Clone, Debug)]
2091+
#[derive(Clone, PartialEq, Eq, Hash, Debug)]
20922092
pub struct Param {
20932093
func: Function,
20942094
/// The index in parameter list, including self parameter.

0 commit comments

Comments
 (0)