made Eq for package_id use more standard parameter names
This commit is contained in:
parent
ed2217d7b6
commit
1ab0ddae5c
@ -37,8 +37,8 @@ pub struct PkgId {
|
||||
}
|
||||
|
||||
impl Eq for PkgId {
|
||||
fn eq(&self, p: &PkgId) -> bool {
|
||||
p.path == self.path && p.version == self.version
|
||||
fn eq(&self, other: &PkgId) -> bool {
|
||||
self.path == other.path && self.version == other.version
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user