Fix clippy warning (1.40 -> 1.54)

The clippy.toml suppresses warnings added in newer rust versions,
so fixing the documented MSRV also shows new warnings.
This commit is contained in:
Jonathan Schwender
2023-03-08 09:55:41 +01:00
committed by Emilio Cobos Álvarez
parent b566c3c064
commit fb1fdc8aed
6 changed files with 16 additions and 18 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ fn run_cbindgen(
style: Option<Style>,
) -> Vec<u8> {
let program = Path::new(cbindgen_path);
let mut command = Command::new(&program);
let mut command = Command::new(program);
match language {
Language::Cxx => {}
Language::C => {