Skip to content

Commit

Permalink
Fix cargo clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
regexident committed Dec 10, 2024
1 parent 93be4bb commit 1500984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test_suite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ impl TestSuite {
.packages
.iter()
.find(|package| package.name == crate_name)
.ok_or_else(|| Error::CargoPackageNotFound)?;
.ok_or(Error::CargoPackageNotFound)?;

let target_dir = env::var("CARGO_TARGET_DIR")
.map(PathBuf::from)
Expand Down

0 comments on commit 1500984

Please sign in to comment.