made Eq for package_id use more standard parameter names

This commit is contained in:
Eric Martin 2013-08-30 22:10:36 -04:00
parent ed2217d7b6
commit 1ab0ddae5c

View File

@ -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
}
}