Skip to content

Commit

Permalink
Clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaslyang authored and nicholaslyang committed Aug 29, 2023
1 parent af7e059 commit 737f8ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/turborepo-lib/src/hash/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ impl From<GlobalHashable> for Builder<HeapAllocator> {

let mut builder = message.init_root();

builder.set_global_cache_key(&hashable.global_cache_key);
builder.set_global_cache_key(hashable.global_cache_key);

{
let mut entries = builder
Expand Down
4 changes: 2 additions & 2 deletions crates/turborepo-scm/src/package_deps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ impl SCM {
allow_missing: bool,
) -> Result<GitHashes, Error> {
if allow_missing {
self.hash_existing_of(&turbo_root, files.into_iter())
self.hash_existing_of(turbo_root, files.iter())
} else {
self.hash_files(&turbo_root, files.into_iter())
self.hash_files(turbo_root, files.iter())
}
}

Expand Down

0 comments on commit 737f8ff

Please sign in to comment.