Skip to content

Commit

Permalink
Auto merge of #7029 - matthiaskrgr:lock, r=Eh2406
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Jun 11, 2019
2 parents 28adaba + 6209842 commit 7be4ca2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cargo/core/package_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl PartialEq for PackageId {
}
}

impl<'a> Hash for PackageId {
impl Hash for PackageId {
fn hash<S: hash::Hasher>(&self, state: &mut S) {
self.inner.name.hash(state);
self.inner.version.hash(state);
Expand Down
2 changes: 1 addition & 1 deletion src/cargo/util/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ impl Config {
}
None => {
let path = ".package-cache";
let desc = "package cache lock";
let desc = "package cache";

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

0 comments on commit 7be4ca2

Please sign in to comment.