Fix clippy warning

This commit is contained in:
Jonathan Schwender 2023-12-21 08:31:38 +01:00 committed by Emilio Cobos Álvarez
parent 61d4112374
commit e32090e334

View File

@ -375,7 +375,7 @@ impl Builder {
}
if let Some((lib_dir, binding_lib_name)) = self.lib.clone() {
let lockfile = self.lockfile.as_ref().map(|p| p.as_path());
let lockfile = self.lockfile.as_deref();
let cargo = Cargo::load(
&lib_dir,