chore: fix clippy warns

This commit is contained in:
Shunsuke Shibayama 2024-08-06 19:03:32 +09:00
parent 53f27394fb
commit a302235c54
5 changed files with 13 additions and 18 deletions

View file

@ -852,7 +852,7 @@ pub fn _eval_pyc<S: Into<String>>(file: S, py_command: Option<&str>) -> String {
Command::new("cmd")
.arg("/C")
.arg(command)
.arg(&file.into())
.arg(file.into())
.spawn()
.expect("cannot execute python")
} else {