Skip to content

Commit 7be4ca2

Browse files
committed
Auto merge of #7029 - matthiaskrgr:lock, r=Eh2406
change package cache lock message Change the message from waiting for file lock on package cache lock to waiting for file lock on package cache The former message made it sound like the lock itself had a lock.
2 parents 28adaba + 6209842 commit 7be4ca2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cargo/core/package_id.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ impl PartialEq for PackageId {
104104
}
105105
}
106106

107-
impl<'a> Hash for PackageId {
107+
impl Hash for PackageId {
108108
fn hash<S: hash::Hasher>(&self, state: &mut S) {
109109
self.inner.name.hash(state);
110110
self.inner.version.hash(state);

src/cargo/util/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ impl Config {
882882
}
883883
None => {
884884
let path = ".package-cache";
885-
let desc = "package cache lock";
885+
let desc = "package cache";
886886

887887
// First, attempt to open an exclusive lock which is in general
888888
// the purpose of this lock!

0 commit comments

Comments
 (0)