made Eq for package_id use more standard parameter names
This commit is contained in:
parent
ed2217d7b6
commit
1ab0ddae5c
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ pub struct PkgId {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Eq for PkgId {
|
impl Eq for PkgId {
|
||||||
fn eq(&self, p: &PkgId) -> bool {
|
fn eq(&self, other: &PkgId) -> bool {
|
||||||
p.path == self.path && p.version == self.version
|
self.path == other.path && self.version == other.version
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue