Skip to content

Commit

Permalink
Fix clippy warning from new Rust release.
Browse files Browse the repository at this point in the history
  • Loading branch information
bholley committed Oct 4, 2022
1 parent 9fb1f00 commit a2b9ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ impl Store {
// validate that our imports.lock is in sync with config.toml.
let imports_lock_outdated = self
.imports_lock_outdated()
.then(|| StoreValidateError::ImportsLockOutdated);
.then_some(StoreValidateError::ImportsLockOutdated);

let errors = invalid_criteria_errors
.into_iter()
Expand Down

0 comments on commit a2b9ffb

Please sign in to comment.