This commit is contained in:
Johann Hemmann 2024-01-19 16:03:30 +01:00
parent 0df30499d0
commit 4858a3784d
4 changed files with 3 additions and 6 deletions

View file

@ -733,9 +733,7 @@ pub struct InTypeConstLoc {
impl PartialEq for InTypeConstLoc {
fn eq(&self, other: &Self) -> bool {
self.id == other.id
&& self.owner == other.owner
&& &*self.expected_ty == &*other.expected_ty
self.id == other.id && self.owner == other.owner && *self.expected_ty == *other.expected_ty
}
}