1
Fork 0

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