Skip to content

Commit 1ab0dda

Browse files
committed
made Eq for package_id use more standard parameter names
1 parent ed2217d commit 1ab0dda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustpkg/package_id.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ pub struct PkgId {
3737
}
3838

3939
impl Eq for PkgId {
40-
fn eq(&self, p: &PkgId) -> bool {
41-
p.path == self.path && p.version == self.version
40+
fn eq(&self, other: &PkgId) -> bool {
41+
self.path == other.path && self.version == other.version
4242
}
4343
}
4444

0 commit comments

Comments
 (0)