mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
op_ref
This commit is contained in:
parent
0df30499d0
commit
4858a3784d
4 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue