Skip to content

Commit

Permalink
Merge pull request #408 from ammernico/clippy-warn
Browse files Browse the repository at this point in the history
Remove a redundant clippy allow macro
  • Loading branch information
primeos-work authored Aug 28, 2024
2 parents ab1a527 + 8684f62 commit ee22485
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/filestore/staging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ impl StagingStore {
if self.0.root_path().is_dir(&path) {
None
} else {
// Clippy doesn't detect this properly
#[allow(clippy::redundant_clone)]
ArtifactPath::new(path.to_path_buf())
.inspect(|r| trace!("Loaded from path {} = {:?}", path.display(), r))
.with_context(|| anyhow!("Loading from path: {}", path.display()))
Expand Down

0 comments on commit ee22485

Please sign in to comment.