mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-28 04:09:05 +00:00
chore: fix clippy warns
This commit is contained in:
parent
53f27394fb
commit
a302235c54
5 changed files with 13 additions and 18 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue